Releases: jpodwys/cache-service-cache-module
Releases · jpodwys/cache-service-cache-module
2.0.1
- Wrap all browser storage writes in a
try/catch
- Update mocha and tests
2.0.0
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
Fixing a browser storage collision when multiple cache instances that try to use the same type of browser storage exist.
1.2.5
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
Fixing a bug preventing the background refresh feature from correctly handling more than one key.
1.2.3
Avoid global scope for vars 'key' and 'storageKey' (thanks to @ariutta)
1.2.2
Fixing an error that caused cacheModule to default to sessionStorage.
1.2.1
Adding LICENSE.md by user request.
1.2.0
- Adding the ability to use
localStorage
and sessionStorage
- Updating tests and docs
1.1.1
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.