Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
NGINX and cache ... When is it necessary?
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) …
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×