我的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
我不知道Expires
和Cache-Control
在哪里设置,我在nginx上检查了网站的配置,而不是那里......有什么想法吗?
答案 0 :(得分:0)