0
우리의 클라이언트는 IE8을 사용하고 있으며 캐싱을 많이하는 방식으로 작업하기가 어렵습니다. 이 문제를 해결하려면 내가 크롬의 (매우 유용) 개발자 도구에 따르면 캐싱No-Cache 결과가 406입니까?
<bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
<property name="cacheSeconds" value="0" />
</bean>
을 방지하기 위해 빈을 추가, 나는 응답 헤더는 것을 볼 수 있습니다
Cache-Control:no-cache
Cache-Control:no-store
Content-Length:1070
Content-Type:text/html;charset=utf-8
Date:Tue, 27 Nov 2012 17:21:31 GMT
Expires:Thu, 01 Jan 1970 00:00:00 GMT
Pragma:no-cache
을하지만, 지금 난 응답은 406
입니다. 내가 왜 이걸 가져올거야?
Accept:application/json, text/javascript, */*; q=0.01
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Cookie:redacted
Host:localhost:8040
Referer:http://localhost:8040/redacted
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11
X-Requested-With:XMLHttpRequest
내가 this answer에보고했다,하지만 난 이미 잭슨을 사용하고 있습니다 :
요청 헤더입니다.