I'm switching some servers from eaccelerator to xcache as eaccelerator
has sadly fallen behind and even removed their variable data cache.
One feature I liked when running with stat off (file update checking)
was their control panel has a "delete expired" button which instead of
clearing the cache entirely, instead it does a stat on all the files
in the cache - once, on that one request, and deleted only ones with
newer files.
On a busy server with a thousand files in the cache, delete expired is
far more friendly that rebuilding 1000 opcodes, when updating just a
file or two.
I guess this could be done via the api If it's possible to examine and
delete cached files on demand but I'd love to see a "delete expired"
right in the control panel for the next release.
I think I read somewhere that xcache doesn't even bother to store the
file timestamp info at all if stat is turned off, so that may be a
problem with this feature request. If this is true I could instead
just check for files on disk that are also in the cache and have a
timestamp that is only "x" minutes old.