Opened 11 years ago

Last modified 7 years ago

#226 new enhancement

delete single files from cache

Reported by: nitrox Owned by: moo
Priority: minor Milestone: 3.3.0
Component: cacher Version: 1.3.0
Keywords: Cc:
Application: PHP Version:
Other Exts: SAPI: Irrelevant
Probability: Blocked By:



In case someone doesn´t want to use stat() or if the filechange isn´t noticed, make it possible to delete a single file from cache, just like var-cache?

Change History (3)

comment:1 Changed 8 years ago by moo

  • Milestone changed from 1.3.3 to 2.1.0

comment:2 Changed 8 years ago by pierres

There is an actual use case for this: FluxBB. It uses a poor cache implementation where data is written as .php files. With disabled stat the new data wont get picked up. For APC it removes the single chache file on update. With XCache you need to invalidate the whole cache atm.

See code at:

(I added the xcache calls myself; these are not in the official FluxBB distribution)

comment:3 Changed 7 years ago by moo

  • Milestone changed from 3.0.2 to 3.1.0
Note: See TracTickets for help on using tickets.