Feature Request: static page/html cache
-
Before version 2.0, every website I tried to put Autoptimize on had to be thoroughly tested to ensure the website was not broken and performance was acceptable. In most cases I would spend a lot of time picking and removing scripts but all of these problems disappeared after 2.0. You have given us a completely free plugin that does pretty much everything I could want it to do, while other developers would charge a yearly fee for. I’m truly grateful.
To avoid hitting PHP, decrease load and increase capacity, I have to use static HTML caching. As you probably already know, static HTML cache can allow a 1 hit per second shared hosting account to serve hundreds of hits per second. The only 2 reliable plugins that do static caching best is W3 Total Cache (which is bloated) and WP Super Cache (which doesn’t work with Apache 2.4). Sometimes WP Super Cache randomly decides to clear cache even though the timeouts are set to 0 (infinite). HyperCache (your favourite) unfortunately uses PHP (the bottleneck of most servers) to serve files.
Is there room some where down the line for you to add static caching to Autoptimize?
On a side note:
There’s a problem where if Autoptimize is enabled the site will time out. These are sites running on VPS’s with timeouts set for 10+ minutes. They work on some sites and won’t work on others. It’s most likely because the theme and/or plugins are heavy but I wouldn’t know where to begin. The only option I have is to not use Autoptimize on them.
There’s one other problem (or nuisance, or feature request?) and hope I explain this properly)… say if we set autoptimize to combine all javascripts, it will generate 1 file and that will work without problems. Then you come across some pages that are specific to a plugin, like a contact form or map plugin which includes an extra resource which will then cause autoptimise to generate a completely separate cache file. Usually I visit the common types (a page, a post, archive page, specialised pages etc) and compare the most common resources and then simply set Autoptimize to skip/exclude files that aren’t loaded in every single part of the site. It can take a lot of manual work and I don’t mind putting the effort in, it’s just that on sites that use visual editors for example (js_composer), it can be extremely time consuming to go through hundreds of pages and then compare the resources they load. Is there anyway for you to build a feature/option that will scan for the common scripts and automatically exclude the non-common ones? It’s a really big ask so I’m hoping to just put it in your mind and see what happens in a few years.
Anyway that’s all I wanted to say, many thanks for a great plugin (I’ve been using it since 0.4 or 0.5!).
- The topic ‘Feature Request: static page/html cache’ is closed to new replies.