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

different cache dir #174

Closed monmonja closed 3 years ago

monmonja commented 3 years ago

is there a way (besides manually editing) to configure Cache_Enabler_Disk::$cache_dir to a different directory?

coreykn commented 3 years ago

Not that I'm aware of. A filter wasn't added here in the recent hook updates introduced in version 1.6.0 due to when this variable is called, which at the earliest would be on the advanced-cache.php drop-in. As far as I know that means even if a filter was added it would not be registered so filtered data would not be returned and applied.