I am integrating a CMS-like system with Gears. Things are going very
well and I am quite impressed so far with the design and usability of
the API. One small issue I am running into is that I have images in
my content which I add to the ResourceStore as they come down from the
server. I need a way to 'garbage collect' images that are no longer
referenced in the content.
On the server I run a background task periodically which examines the
content, makes a list and kills stuff not on the list. A high water
mark makes this safe and easy to do and much more efficient than
maintaining a complex cross reference.
I would like to do the same thing on the client but I can't seem to
find a way to do this other than to add a database record each time I
capture a URL so I know what has been captured. So my question is
whether there is or will eventually be a way to enumerate the
ResourceStore?