Enable fastcgi_cache for PHP site

Is it possible to enable fastcgi_cache for a php/mysql site created with EaysEngine?

You will have to manually clean the cache, i know, but is it possible with EasyEngine?

Hello @standoutmedia,

Sorry for late reply. You can surely cache your PHP/MySQL site. For this,

ee site edit example.com


include common/php.conf;


location / {
    try_files $uri $uri/ /index.php?$args;

location ~ \.php$ {
    try_files $uri =404;
    include fastcgi_params;
    fastcgi_pass php;
    fastcgi_cache_bypass $skip_cache;
    fastcgi_no_cache $skip_cache;

    fastcgi_cache WORDPRESS;

location ~ /purge(/.*) {
    fastcgi_cache_purge WORDPRESS "$scheme$request_method$host$1";

I hope this will help you. I am closing this issue, as this is very old issue, Feel free to create new issue if you face any doubts