Bug Tracker

Opened 10 years ago

Closed 10 years ago

#10350 closed bug (invalid)

POST caching on IE8

Reported by: [email protected] Owned by: [email protected]
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 10 years ago by addyosmani

Component: unfiledajax
Owner: set to [email protected]
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 10 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.