MRatWork Forum by Mustafa Ramadhan

Language Specific Discussions => Indonesia Users => Topic started by: agssbuzz on 2015-04-15, 09:05:28

Title: [ask] cara disable microcache pada nginx
Post by: agssbuzz on 2015-04-15, 09:05:28
Mohon bantuannya untuk diasble microcache. Alasannya karena kadang mempengaruhi cookies. cookies admin dan user kadang suka ketuker. Saya pake kloxo 7. Makasih  :D
Title: Re: [ask] cara disable microcache pada nginx
Post by: MRatWork on 2015-04-15, 09:20:32
1. Copy proxy_standard.conf ke custom.proxy_standard.conf (begitu juga untuk proxy_wildcards.conf, php-fpm_standard.conf dan php-fpm_wildcards.conf) pada '/opt/configs/nginx/conf/globals'.
2. Ubah 'fastcgi_cache fcache;' ke '#fastcgi_cache fcache;' dan 'proxy_cache pcache;' ke '#proxy_cache pcache;' pada setiap custom file
3. Jalankan 'sh /script/fixweb; sh /script/restart-web -y'
Title: Re: [ask] cara disable microcache pada nginx
Post by: agssbuzz on 2015-04-15, 12:38:36
Sudah sip pak
Title: Re: [ask] cara disable microcache pada nginx
Post by: redpages on 2015-09-05, 01:42:30
Jadi microcache pada kloxo MR 7 itu sudah jadi default ya? otomatis aktif gitu?
Bagaimana dengan xcache, apakah bentrok dengan microcache?
Title: Re: [ask] cara disable microcache pada nginx
Post by: MRatWork on 2015-09-05, 05:27:29
XCache (di php) dan microcache (di nginx) berbeda 'target'). Tidak masalah (bahkan lebih baik) jika kedua-duanya aktif.