Skip to content

Releases: domderen/cachable-ajax

Promises & Cleanup

10 Nov 11:02
Compare
Choose a tag to compare
  • Added promise response from the 'go' method. Now this component can be easily used as a service for http requests, from other components.
  • Refactored unnecessary public properties to private fields, for cleaner component API.

Version 0.2.1

05 Nov 23:48
Compare
Choose a tag to compare
  • Added new parameter 'key', for defining custom cache key.
  • Added calculation of generated cache key, based on the xhrArgs object of the request. Basically now component calculated md5 cache of the request.

Docs updates

20 Oct 22:27
Compare
Choose a tag to compare
0.1.1

Updating bower version

First release

20 Oct 22:02
Compare
Choose a tag to compare

Initial release.

Element is able to cache response form ajax call in to local storage. The key is created from url + params (stringified) + handleAs. This element is an extension on core-ajax element, and exposes the same API.