
So far in our series on .NET caching, we've created a basic cache and added a thread to expire objects from the cache based on a fixed expiration date. This may work well in certain situations, where it is possible to predetermine the date of expiration, but what if the date of expiration cannot be predetermined? Perhaps you have an inventory list that should only be expired if the latest shipment has arrived.
|