Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#7647 closed bug (duplicate)

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:


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.

Change History (8)

comment:1 Changed 12 years ago by addyosmani

Owner: set to anonymous
Status: newpending

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.

comment:2 Changed 12 years ago by anonymous

Status: pendingnew

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.

comment:3 Changed 12 years ago by anonymous

We thoroughly tested Opera and jQuery.


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.

comment:4 Changed 12 years ago by anonymous

If JQuery does not change RequestHeader, then Opera is normally cached Ajax response.

comment:5 Changed 12 years ago by Rick Waldron

Resolution: duplicate
Status: newclosed

comment:6 Changed 12 years ago by Rick Waldron

Duplicate of #6748.

comment:7 Changed 12 years ago by anonymous

Patch #6748 does not solve problem. Patch #6060 does not solve problem.

Opera team is engaged in this problem?

comment:8 Changed 9 years ago by [email protected]

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.

Note: See TracTickets for help on using tickets.