Remember, no significance effect for low-traffic website. Better if you have website with 100,000-1,000,000 hits/day.
For Kloxo-MR 6.5.0, follow this steps:
1. copy proxy.conf to custom.proxy.conf and php-fpm.conf to custom.php-fpm.conf inside /home/nginx/conf/globals
2. Modified custom.proxy.conf
from:
...
### MR -- just enough remove # below for enable nginx cache
#fastcgi_cache fcache;
fastcgi_cache_valid 200 1h;
fastcgi_cache_valid 301 1h;
fastcgi_cache_valid 302 1h;
fastcgi_cache_valid any 1m;
...
to:
...
### MR -- just enough remove # below for enable nginx cache
fastcgi_cache fcache;
#fastcgi_cache_valid 200 1h;
#fastcgi_cache_valid 301 1h;
#fastcgi_cache_valid 302 1h;
#fastcgi_cache_valid any 1m;
## for microcache for fastcgi
fastcgi_cache_valid 200 10s;
fastcgi_cache_use_stale updating;
fastcgi_max_temp_file_size 1M;
...
and custom.proxy.conf
from:
...
### MR -- just enough remove # below for enable cache
#proxy_cache pcache;
proxy_cache_valid 10m;
proxy_cache_valid 404 1m;
...
to:
...
### MR -- just enough remove # below for enable cache
proxy_cache pcache;
#proxy_cache_valid 10m;
#proxy_cache_valid 404 1m;
## for microcache for proxy
proxy_cache_valid 200 10s;
proxy_cache_use_stale updating;
proxy_max_temp_file_size 1M;
...
2. run 'sh /script/fixweb'
3. run 'sh /script/restart-web'