I would use a proxy design pattern for that. That's just me.
Andrew McDonagh - 24 Apr 2006 23:07 GMT
> I would use a proxy design pattern for that. That's just me.
seconded
> Any ideas for good design pattern references/ideas for refreshing a
> cache based either upon
[quoted text clipped - 3 lines]
>
> Thanks
for 1)
when you add an item to the cache set an expiry time or duration. Check
the expiry time when you read an item from the cache, if it has expired
remove it from the cache instead of returning the cached item.
Tim