On 1/3/13 6:21 AM, manas.agar...@cognizant.com wrote:
Hi All,
I am trying to implement plugin cache in ATS.
I have the following queries regarding the ATS plugin cache-
I am unable to find a details whether ATS removes the stale entries from plugin
cache.
Or the entries are there forever.
Does plugin cache ever become full or is stored as part of server cache in
cache.db file.
I tried to write data using plugin cache. As per ATS documentation plugin cache
is not persistent.
However after I tried to restart the server, I was still able to read the data
successfully.
I'm not sure familiar with these APIs, but I'd venture a guess that objects
written to the cache using the plugin APIs are recycled as "normal" through
the cyclone mechanism (oldest objects gets overwritten when it wraps
around). Now, I'm not sure how it deals with expiration times, that might be
plugin specific I think.
I'm surprised that the docs would say that the cache isn't persistent, that
doesn't make a whole lot of sense.
The one problem with the APIs that I know of is that you can't create cache
entries which the HTTP system uses. We should fix that by adding more APIs.
The issue is that the HTTP cache actually stores and "links" multiple cache
objects for an HTTP document.
Alan, you have any more thoughts on this?
-- Leif