3 ms·
What about isolating the popular URL and temporarily serving a static version of the page?
by sc68cal 15y ago
What about isolating the popular URL and temporarily serving a static version of the page?
- rellik 15y agoThat's what the page caching plugin does. It puts a static file in nginx/apache's search path, so it never hits PHP
- sc68cal 15y agoWhich plugin did you use? WP Super Cache? I'd like to take a look through the code.
- spydum 15y agototal cache, super cache, most of them create static html versions of the page. Super Cache is a bit more clever in that it depends on htaccess instead of PHP code to check to see if the on-disk cached version exists. The benefit here is PHP module does not need to fire up -- apache can serve this very rapidly with little memory footprint.
- rellik 15y agoI used W3 Total Cache. It generates a static file and puts it in apache's search path, so it never hits PHP