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

[suggestion] Manually cache files #15

Closed pavs closed 6 years ago

pavs commented 6 years ago

It would be great if I could manually cache files and not wait for the user to visit the said in order to be cache. My cached folder mounted on tmps, which means access is really fast. The problem with my site is that there is an enormous amount of traffic any given time, so when I update the website, all the caches get deleted and CPU usage is off the rail until the cache fills up by any reasonable level, which can hours. if there was a CLI option of manually create cache file all the current content. It would be great. Also, I think there is a bug and even when you choose not to clear the whole cache when a new post is submitted, it still clears the whole cache.

Hope you will take this suggestion into consideration.

svenba commented 6 years ago

We don't plan to integrate this into this plugin at the moment. But you can write your own function to achieve this.