Skip to main content

Bug Tracker

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 addyosmani comment:1

owner: → 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.

Changed November 29, 2010 04:08AM UTC by anonymous comment:2

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.

Changed November 29, 2010 06:56AM UTC by anonymous 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 anonymous comment:4

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

Changed November 29, 2010 04:55PM UTC by rwaldron comment:5

resolution: → duplicate
status: newclosed

Changed November 29, 2010 04:55PM UTC by rwaldron comment:6

Duplicate of #6748.

Changed December 02, 2010 06:14AM UTC by anonymous comment:7

Patch #6748 does not solve problem.

Patch #6060 does not solve problem.

Opera team is engaged in this problem?

Changed August 17, 2013 04:15PM UTC by ashleylionell@gmail.com 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.