2013-07-23 1 views
0

응답 :HTTP 예상대로 마지막으로 수정 해달라고 '작업

Cache-Control:no-store, no-cache, must-revalidate, post-check=0, pre-check=0 
Connection:keep-alive 
Content-Type:image/jpeg 
Date:Tue, 23 Jul 2013 13:56:05 GMT 
Etag:"76a5140090233de1521969b60c7636c1" 
Expires:Thu, 19 Nov 1981 08:52:00 GMT 
Last-Modified:Mon ,22 Jul 2013 10:16:06 GMT 
Pragma:no-cache 
Server:nginx/1.2.8 
Set-Cookie:lang=en; expires=Thu, 22-Aug-2013 13:56:05 GMT; path=/ 
Set-Cookie:money=121; expires=Thu, 22-Aug-2013 13:56:05 GMT; path=/ 
Set-Cookie:UID=6; expires=Thu, 22-Aug-2013 13:56:05 GMT; path=/ 
Transfer-Encoding:chunked 
X-Powered-By:PHP/5.4.13 

그리고 응답 후 요청은 다음과 같습니다 변경 한 경우 --때문에

보시다시피
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 
Accept-Encoding:gzip,deflate,sdch 
Accept-Language:zh-CN,zh;q=0.8 
Cache-Control:no-cache 
Connection:keep-alive 
Cookie:sid=8cif822kqg6qo4vags10pbm697; PHPSESSID=su382iqj9pdgbl32gqd1fqff03;      
Host:localhost 
Pragma:no-cache 
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36 
Response Headersview source 

요청이 전송하지 않습니다 예상대로 헤더.

내 브라우저가 캐시를 사용 중지하지 않습니다.

아무도 도와 드릴 수 있습니까? 정말 고마워요.

답변

0

diff nginx 304 헤더 이후, 나는 이유를 발견했습니다.

이유는 start_session()입니다. 캐시 헤더를 추가하지 말고, Prgama와 Cache-Control 헤더를 제거하십시오. 모든 것이 올바르게 돌아갑니다.

관련 문제