By Lex Gabrees
I am using NGINX and I’ve come to understand that caching dynamic pages (.php) makes NGINX serve them much faster. However what really happens when a .php page is cached ? Is it just process of copying the HTML output of the .php file to a file on the harddrive on the server so they can be served as static HTML files ?
If this is so, then does that mean that only dynamic pages (.php) can benefit from the process of caching, while originally HTML / Static only pages will not ?
Lastly, would there really be a noticeable difference in speed between the use of FastCGI caching and the WP Super Cache plugin ? (I’ve read that it converts .php files into HTML versions) …
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Believe me when I say WPSC (using the HTML cache) is god’s work right there. You’ll notice a huge difference as you won’t even load the database anymore and the pages will renew when you update the post or if a new comment comes in (if you need it to). HTML can also be loaded in gzip form as well as WPSC generates both files per directory.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.