Nginx缓存标头

时间:2017-08-29 12:55:13

标签: caching nginx

我的nginx返回以下回复:

HTTP/1.1 200 OK
Server: nginx
Date: Tue, 29 Aug 2017 12:52:34 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
Set-Cookie: PHPSESSID=btj7eq897r10tl7br5pf97ttd4; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache

我不知道ExpiresCache-Control在哪里设置,我在nginx上检查了网站的配置,而不是那里......有什么想法吗?

1 个答案:

答案 0 :(得分:0)