Closed chesio closed 3 years ago
In boost mode, no page gets ever deleted from cache - it can only be replaced by a new version.
Update: deleted pages have to be deleted from cache.
The idea is neat, but would require more complex handling of cache as it is done now, ie. flush entire cache on any change.
BC Cache should be simple, but boost mode does seem like a very complex feature, so it is not going to be implemented.
In boost mode, no page gets ever deleted from cache - it can only be replaced by a new version.
Technically, instead of cache file being deleted, the file is marked as dirty and updated as soon as possible via internal crawling mechanism of some kind. Note: this seems quite related to cache warm-up (see #15).
Note: idea inspired by boost mode from Static File Cache.