Side navigation
#7647 closed bug (duplicate)
Opened November 28, 2010 03:54PM UTC
Closed November 29, 2010 04:55PM UTC
Last modified August 17, 2013 04:15PM UTC
Ajax request, using the GET method, cannot be cached in Opera
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | undecided | Milestone: | 1.6 |
Component: | unfiled | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
See this question - http://forum.jquery.com/topic/why-ajax-request-using-the-get-method-cannot-be-cached-in-opera
My Opera: 10.63, all settings - default (not changed)
Please answer the question.
Attachments (0)
Change History (8)
Changed November 28, 2010 05:34PM UTC by comment:1
owner: | → anonymous |
---|---|
status: | new → pending |
Changed November 29, 2010 04:08AM UTC by comment:2
status: | pending → new |
---|
jsFiddle not help, because for testing need special PHP script for generate special cache headers. PHP script must located in one place with a js-script for security.
Please read the question and first answer by link.
Changed November 29, 2010 06:56AM UTC by comment:3
We thoroughly tested Opera and jQuery.
Result:
When jQuery (jquery-1.4.4.js - start line 5914) set ANY RequestHeaders then Opera NOT CACHE the ajax responce.
Please do something with this problem.
Changed November 29, 2010 07:22AM UTC by comment:4
If JQuery does not change RequestHeader, then Opera is normally cached Ajax response.
Changed November 29, 2010 04:55PM UTC by comment:5
resolution: | → duplicate |
---|---|
status: | new → closed |
This is not a jQuery bug, it is a known Opera issue
http://ejohn.org/files/bugs/304/
http://tc.labs.opera.com/apis/XMLHttpRequest/send-conditional.htm
Changed December 02, 2010 06:14AM UTC by comment:7
Changed August 17, 2013 04:15PM UTC by comment:8
I'm facing the same problem. Opera is not caching my ajax responses even though the Expires header clearly states it to cache it for another year. It is working just the way expected in Firefox, Chrome and even our good old IE. Only Opera and Safari seem to have problems with it. I'm basically trying to implement aggressive caching coupled with last modified timestamp based url rewriting in server side. This guarantees that the url for files will never be the same if they change, and hence I want them to be cached no matter what. Only Opera and Safari seem to be the red-herrings here.
Thanks for submitting a ticket to the jQuery bug tracker!
Unfortunately, the standard procedure for submitting a bug in the tracker is that you include all information related to your bug in your ticket. If you could kindly do this (and also reproduce your test case on jsFiddle so that we can test more thoroughly) that would be much appreciated.
We'll investigate the issue as soon as this has been done.