Ticket #6072 (closed enhancement: fixed)

Opened 9 months ago

Last modified 8 months ago

preventCache in ItemFileReadStore

Reported by: guest Owned by: jaredj
Priority: normal Milestone: 1.2
Component: Data Version: 1.0
Severity: normal Keywords:
Cc:

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

dojo.data.ItemFileStore_20080410.patch (4.0 kB) - added by jaredj 8 months ago.

Change History

Changed 9 months ago by guest

Please add josh@… to CC

Changed 9 months ago by bill

  • owner changed from anonymous to jaredj
  • component changed from General to Data

Changed 8 months ago by jaredj

  • milestone set to 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.

Changed 8 months ago by jaredj

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 8 months ago by jaredj

Changed 8 months ago by jaredj

Tested on:

Firefox: 2.0.0.13

IE 6

Opera 9.2

Seamonkey 1.1.2

Safari 3.1

Changed 8 months ago by jaredj

Fixed in revision: 13299

Changed 8 months ago by jaredj

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.