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

Allow custom cache location #5

Closed nlemoine closed 6 years ago

nlemoine commented 6 years ago

Cache is currently saved to WP_CONTENT_DIR. '/cache/cache-enabler'.

This makes cached pages accessible if you hit the file URL (ex: http://domain.com/wp-content/cache/cache-enabler/domain.com/hello-world).

It would be nice to allow developers to filter this location.

dramaturg commented 6 years ago

This is unlikely to be of use to many people as we have to stay within WP_CONTENT_DIR for most installations. It's easy enough to secure the cache directory through your web server configuration, isn't it?