Untuk mendisable microcache, lakukan:
1. Pada nginx stand-alone, copy php-fpm_standard.conf dan php-fpm_wildcards.conf ke custom.php-fpm_standard.conf dan custom.php-fpm_wildcards.conf di /opt/configs/nginx/conf/globals. Kemudian ubah:
### 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
fastcgi_cache_valid 200 10s;
fastcgi_cache_use_stale updating;
fastcgi_max_temp_file_size 1M;
ke:
### 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
#fastcgi_cache_valid 200 10s;
#fastcgi_cache_use_stale updating;
#fastcgi_max_temp_file_size 1M;
2. Pada nginx stand-alone, copy proxy_standard.conf dan proxy_wildcards.conf ke custom.proxy_standard.conf dan custom.proxy_wildcards.conf di /opt/configs/nginx/conf/globals. Kemudian ubah:
### MR -- just enough remove # below for enable cache
proxy_cache pcache;
#proxy_cache_valid 10m;
#proxy_cache_valid 404 1m;
## for microcache
proxy_cache_valid 200 10s;
proxy_cache_use_stale updating;
proxy_max_temp_file_size 1M;
ke:
### MR -- just enough remove # below for enable cache
#proxy_cache pcache;
#proxy_cache_valid 10m;
#proxy_cache_valid 404 1m;
## for microcache
#proxy_cache_valid 200 10s;
#proxy_cache_use_stale updating;
#proxy_max_temp_file_size 1M;
3. Setelah itu, jalankan 'sh /script/fixweb; sh /script/restart-web -y'.