Hi guys,

I am trying to implement a DeleteCache feature working so that the
cache entries of the current(s) loaded webpages do not get deleted.

Scenario: I have browsed through some sites, and in a certain point I
have only two tabs opened with google.com and aol.com, for example.
For both, I have some stuff cached, as well as cache entries of the
previous browsed sites. So, my_delete_cache() is called: it would
delete everything except the cache entries of the current opened
websites (in my opinion, these are the real InUse ones). How can I
identify this InUse entries ?

In 
http://lxr.mozilla.org/seamonkey/source/netwerk/cache/src/nsMemoryCacheDevice.cpp#432
there is a IsInUse () method but it does not match with what I said above.

I would like to know what would be the definition of the "InUse" state
of a CacheEntry ?

cheers


-- 
--Antonio Gomes
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to