Nginx的Xcaching状态翻转命中和过期的WordPress网站(testingPHP文件确定)
我有一个WordPress网站的nginxcaching设置,它正在nginx头状态x-cache: HIT和x-cache: EXPIRED之间翻转x-cache: EXPIRED看似随机: C:\Users\curl-7.48>curl -I http://example.com HTTP/1.1 200 OK Server: nginx/1.8.0 Date: Sun, 03 Apr 2016 14:15:15 GMT Content-Type: text/html; charset=UTF-8 Connection: keep-alive X-Powered-By: PHP/5.5.9-1ubuntu4.14 X-Cached: Sun, 03 Apr 2016 14:15:12 GMT Set-Cookie: PHPSESSID=vfuo4s72b2ffulacumgu9aidf0; path=/ Link: <http://example.com/wp-json/>; rel="https://api.w.org/" Link: <http://example.com/>; rel=shortlink Z_LOCATION: PHP MAIN URI: /index.php X-Cache: HIT C:\Users\curl-7.48>curl -I http://example.com HTTP/1.1 200 OK […]