keycdn / cache-enabler

A lightweight caching plugin for WordPress that makes your website faster by generating static HTML files.
https://wordpress.org/plugins/cache-enabler/
123 stars 46 forks source link

update clear requests and fix advcache #98

Closed coreykn closed 4 years ago

coreykn commented 4 years ago

Update Cache_Enabler::process_clear_request() to only clear the home page cache when using the "Clear URL Cache" admin bar button on the home page. Previously the complete cache would be cleared.

Fix advanced cache path to cached variants. This allows the advanced cache to deliver the cached page and bypass PHP as it did in version 1.3.5. This should have been done in PR #94.

Delete CE_SETTINGS_PATH constant that was added in PR #96. The advanced cache is not always able to read the value of this constant.