Bug Tracker

Ticket #7647 (closed bug: duplicate)

Opened 4 years ago

Last modified 16 months ago

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:
Blocking: Blocked by:

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.

Change History

comment:1 Changed 4 years ago by addyosmani

  • Owner set to anonymous
  • Status changed from new to pending

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 4 years ago by anonymous

  • Status changed from pending to 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.

comment:3 Changed 4 years ago by anonymous

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.

comment:4 Changed 4 years ago by anonymous

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

comment:5 Changed 4 years ago by rwaldron

  • Status changed from new to closed
  • Resolution set to duplicate

comment:6 Changed 4 years ago by rwaldron

Duplicate of #6748.

comment:7 Changed 4 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 16 months ago by ashleylionell@…

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.