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 advanced cache #161

Closed coreykn closed 3 years ago

coreykn commented 3 years ago

Update advanced cache to check if the files exist before requiring them and if the Cache_Enabler_Engine class exists before calling the static methods. This will prevent potential errors, like if the Cache Enabler plugin is manually deleted (e.g. going to the plugins directory and deleting cache-enabler).