Opened 8 years ago

Closed 3 years ago

#14003 closed enhancement (patchwelcome)

doijo.store.cache no flush option available

Reported by: Hounddog Owned by: Kris Zyp
Priority: high Milestone: 1.11
Component: Data Version: 1.6.1
Keywords: Cc:
Blocked By: Blocking:

Description

dojo.store.cache currently has no option to flush the cache.

It would be a great enhancement if a possibility was added to flush the cache either through dojo.store.cache or dojo.store.memory.

Martin

Change History (2)

comment:1 Changed 8 years ago by bill

Component: GeneralData
Owner: set to Kris Zyp

comment:2 Changed 3 years ago by dylan

Milestone: tbd1.11
Resolution: patchwelcome
Status: newclosed

dstore has invalidate() on its Cache implementation, https://github.com/SitePen/dstore/blob/21129125823a29c6c18533e7b5a31432cf6e5c56/src/Cache.js#L165-L175

Closing as patchwelcome for dojo/store in case someone wants to backport something similar.

Note: See TracTickets for help on using tickets.