chesio / bc-cache

Simple full page cache plugin for WordPress inspired by Cachify
The Unlicense
9 stars 0 forks source link

Implement "boost mode" #14

Closed chesio closed 3 years ago

chesio commented 5 years ago

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.

chesio commented 5 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.

chesio commented 5 years ago

The idea is neat, but would require more complex handling of cache as it is done now, ie. flush entire cache on any change.

chesio commented 3 years ago

BC Cache should be simple, but boost mode does seem like a very complex feature, so it is not going to be implemented.