The present invention provides a system and method for optimizing a cache
that substantially eliminates reduces the disadvantages of previously
developed cache management systems. More particularly, embodiments of the
present invention provide a system of optimizing a cache by polling
cached assets with a frequency dependent of the relative activity of a
cached asset. An embodiment of the method of the system includes the
steps of: (i) polling a cached asset according to a first schedule to
determine if the cached asset has been active within a first predefined
period of time; (ii) if the cached asset has not been active, polling the
cached asset according to a second schedule to determine if the cached
asset has been inactive for at least a second predefined period of time;
(iii) demoting the cached asset to less active status; and (iv) if the
cached asset has been inactive for at least within the second predefined
period of time, demoting the cached asset to inactive status. In one
embodiment of the present invention, if the cached asset has been active
within the second predefined period of time, the cached asset can again
be polled according to the first frequency. The frequency with which the
cached asset can be polled according to the first and second schedule can
be a matter of optimization. Polling according to the first schedule can
occur at a greater frequency than polling according to the second
schedule. Thus, more active assets can be polled more often than less
active assets.