3 ms·
I've started using the Simply Static plugin a lot because you can get content-aware cache invalidation and also have nginx serve the files directly so you can a
by freedomben 4y ago
I've started using the Simply Static plugin a lot because you can get content-aware cache invalidation and also have nginx serve the files directly so you can avoid hitting any php. You do have to configure nginx properly though or else it won't work, but I didn't find it terribly difficult to do (although I'm already pretty familiar with nginx). Adding varnish is something on my list to try as well, though so far performance has been beyond "good enough" so it's hard to justify the time investment to adding varnish :-)
- neurostimulant 4y agoIf you have to use a cache plugin on wordpress, it's much easier to use apache instead of nginx because all cache plugins can automatically configure the cache behavior using automatically generated .htaccess files instead of requiring you to manually configure nginx yourself. Nginx does have speed advantage over apache (and other advantages as well), but if majority of your traffics are going to get served by a static cache, might as well use apache because it's not particularly slower at serving static files compared to nginx, while saving you some configuration headaches.