Skip to main content

Bug Tracker

Side navigation

#5204 closed enhancement (invalid)

Opened September 11, 2009 10:16AM UTC

Closed September 12, 2009 11:18AM UTC

It seems that the ajax 'cache' parameter is useless

Reported by: robustsolution Owned by:
Priority: major Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: underscore, get, cache Cc:
Blocked by: Blocking:
Description

except for internet explorer where is has an important effect but is still browser dependent not client side application dependent.

so why don't we omit all the 's.cache' tests from the jQuery library?

so the consecutive lines

if ( s.dataType == "script" && s.cache == null )

s.cache = false;

if ( s.cache === false && type == "GET" ) {

should be replaced by only

if (type == "GET" ) {

Attachments (0)
Change History (1)

Changed September 12, 2009 11:18AM UTC by flesler comment:1

resolution: → invalid
status: newclosed

It actually does make a difference whether you set it to true or false.

Setting false avoids any cache, while having it as true will give you cache on most cases.