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

Cache in minutes or throughput #77

Closed arianitu closed 4 years ago

arianitu commented 4 years ago

Hey, I love the plugin, great job. The only issue I've found is that you can only set a cache time every hour instead of being able to set a cache time in minutes.

I think minutes are a better system or accepting fractional hours. We're looking for a caching system to help with load spikes, not necessarily to cache for long periods of time.

It would actually be awesome to have a cache system based on throughput. So start caching as throughput starts to get to > 1 s for example, else do not cache.

Maybe starting with accepting minutes is best tho? Or fractional hours?

svenba commented 4 years ago

While your use case is interesting, hours are better suited for the majority of the plugin users.