Bug Tracker

Opened 8 years ago

Closed 8 years ago

#10350 closed bug (invalid)

POST caching on IE8

Reported by: rosieks@… Owned by: rosieks@…
Priority: low Milestone: None
Component: ajax Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:

Description

Hi, I notice problem with making Ajax POST Request on IE8. I have scenerio where browser make GET request to the specific URL. Next I want to make POST request without caching to the same URL. Unfortunately IE8 doesn't make request because it is cached. I think that jQuery should always (for all types of request: GET, POST, DELETE) add random number to the url if caching is disabled

Change History (2)

comment:1 Changed 8 years ago by addyosmani

Component: unfiledajax
Owner: set to rosieks@…
Priority: undecidedlow
Status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/

Open the link and click to "Fork" (in the top menu) to get started.

comment:2 Changed 8 years ago by dmethvin

Resolution: invalid
Status: pendingclosed

If you don't want the response to be cached, use cache: false in the ajax options that you pass; then it will add the random number.

Note: See TracTickets for help on using tickets.