Opened 12 years ago

Closed 12 years ago

#6072 closed enhancement (fixed)

preventCache in ItemFileReadStore

Reported by: guest Owned by: Jared Jurkiewicz
Priority: high Milestone: 1.2
Component: Data Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

Would be nice to be able to tell ItemFileReadStore? to use preventCache when it calls xhrGet - Internet Explorer will cache GET requests and sometimes it's necessary to re-create a store with the same URL as a different store (see trac 6071 for a use case).

Attachments (1)

dojo.data.ItemFileStore_20080410.patch (4.0 KB) - added by Jared Jurkiewicz 12 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 12 years ago by guest

Please add josh@… to CC

comment:2 Changed 12 years ago by bill

Component: GeneralData
Owner: changed from anonymous to Jared Jurkiewicz

comment:3 Changed 12 years ago by Jared Jurkiewicz

Milestone: 1.2

This should be a trivial addition. I'll add it into 1.2 when it opens up. I don't want to mess with anything when 1.1 is closing down.

comment:4 Changed 12 years ago by Jared Jurkiewicz

This adds a parameter urlPreventCache (default is false) that can be set declaratively or programmatically as an attribute to the constructor object that will cause the preventCache option to be specified on the xhrGet's when the value is true.

Changed 12 years ago by Jared Jurkiewicz

comment:5 Changed 12 years ago by Jared Jurkiewicz

Tested on:

Firefox: 2.0.0.13

IE 6

Opera 9.2

Seamonkey 1.1.2

Safari 3.1

comment:6 Changed 12 years ago by Jared Jurkiewicz

Fixed in revision: 13299

comment:7 Changed 12 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.