Nginxcaching页面用于loginWordPress用户(并向访问者显示pipe理栏!)
我已经在WordPress中设置了caching的nginx。 我正在使用https://wordpress.org/plugins/nginx-helper/ ,但似乎login页面正在被caching,当它不应该(因此显示login栏)。 一些没有login的访问者(也没有任何cookies /浏览器caching)正在看到login栏(如果他们点击栏内的任何东西,它会将其redirect到login页面)。 另外,当我单击WordPress中的清除cachingbutton时,页面仍然被提供并显示为XCache HIT …真正清除的唯一方法是使用rm -rf /dev/shm/nginx 。 我确实安装了以下模块: nginx version: nginx/1.8.0 built with OpenSSL 1.0.1f 6 Jan 2014 TLS SNI support enabled configure arguments: –with-cc-opt='-g -O2 -fstack-protector –param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2' –with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro' –prefix=/usr/share/nginx –conf-path=/etc/nginx/nginx.conf –http-log-path=/var/log/nginx/access.log –error-log-path=/var/log/nginx/error.log –lock-path=/var/lock/nginx.lock –pid-path=/run/nginx.pid –http-client-body-temp-path=/var/lib/nginx/body –http-fastcgi-temp-path=/var/lib/nginx/fastcgi –http-proxy-temp-path=/var/lib/nginx/proxy –http-scgi-temp-path=/var/lib/nginx/scgi –http-uwsgi-temp-path=/var/lib/nginx/uwsgi –with-debug –with-pcre-jit –with-ipv6 –with-http_ssl_module –with-http_stub_status_module –with-http_realip_module –with-http_auth_request_module […]