为什么使用GET方法的Ajax请求无法在Opera中缓存?

时间:2021-05-28 09:26:23

Please look at this small test:

请看这个小测试:

http://www.karapuz.by/media/js/ajax-GET-caching-test.html

http://www.karapuz.by/media/js/ajax-GET-caching-test.html

It seems that Opera (mine is 10.10), in contrast to IE, FF, GC, and Safari, is not caching the ajax response, even if it is explicitly told to do that. Any ideas?

看起来Opera(我的是10.10),与IE,FF,GC和Safari相比,并没有缓存ajax响应,即使它被明确告知这样做。有任何想法吗?

1 个解决方案

#1


0  

It seems you need to remove the expiration of your header.

您似乎需要删除标头的过期时间。

#1


0  

It seems you need to remove the expiration of your header.

您似乎需要删除标头的过期时间。