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

fix getting settings file edge cases #158

Closed coreykn closed 4 years ago

coreykn commented 4 years ago

When creating and deleting the settings file for subdirectory networks ensure the blog path is always chosen by getting the last directory. Improve the fallback handling to fix certain edge cases when getting the settings from the settings file. In most cases the current default way of getting the settings file when in the early start of the cache engine is successful, however, in some edge cases the settings file will not be found (resulting in the cached pages not being delivered).

Fixes #157