1.禁用php的nginx缓存
location ~ .*\.(css|js|swf|php|htm|html )$ { add_header Cache-Control no-store; }
2.禁用php缓存
[opcache]; Determines if Zend OPCache is enabledopcache.enable=0
nginx+php在调试过程中临时关闭缓存
原文:http://www.cnblogs.com/HuiLove/p/4979635.html