Skip to content

Releases: jpodwys/cache-service-cache-module

2.0.1

18 Feb 08:04
d81b4ef
Compare
Choose a tag to compare
  • Wrap all browser storage writes in a try/catch
  • Update mocha and tests

2.0.0

24 May 16:00
b68b1bc
Compare
Choose a tag to compare

Breaking

.get now returns a clone of, rather than a reference to, cached objects. This means that manipulating responses from .get will no longer manipulate the cache entry. Thanks to @wikiwong

1.2.6

24 May 15:54
a236482
Compare
Choose a tag to compare

Fixing a browser storage collision when multiple cache instances that try to use the same type of browser storage exist.

1.2.5

09 Jan 02:48
Compare
Choose a tag to compare

Fixed a bug that caused Browser storage is not supported by this browser. Defaulting to an in-memory cache. to show up in the console even when the user did not attempt to use browser storage. Thanks @ryardley

1.2.4

22 Aug 15:51
Compare
Choose a tag to compare

Fixing a bug preventing the background refresh feature from correctly handling more than one key.

1.2.3

03 Mar 23:24
Compare
Choose a tag to compare

Avoid global scope for vars 'key' and 'storageKey' (thanks to @ariutta)

1.2.2

24 Dec 21:50
Compare
Choose a tag to compare

Fixing an error that caused cacheModule to default to sessionStorage.

1.2.1

22 Dec 17:31
Compare
Choose a tag to compare

Adding LICENSE.md by user request.

1.2.0

21 Dec 17:12
Compare
Choose a tag to compare
  • Adding the ability to use localStorage and sessionStorage
  • Updating tests and docs

1.1.1

28 Aug 17:19
Compare
Choose a tag to compare

Fixing a bug that sometimes caused expirations to be evaluated in milliseconds rather than seconds. The same bug also had the ability to cause the expirations for keys set with background refresh to grow on every refresh.