cacheable

Wrap native HTTP requests with RFC compliant cache support

MIT License

Downloads
390.9M
Stars
286
Committers
82

Bot releases are hidden (Show)

cacheable - 2024-08-05 Latest Release

Published by jaredwray 2 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/jaredwray/cacheable/compare/2024-07-11...2024-08-05

cacheable - 2024-07-11

Published by jaredwray 3 months ago

What's Changed

Full Changelog: https://github.com/jaredwray/cache-manager/compare/2024-07-03...2024-07-11

cacheable - 2024-07-03

Published by jaredwray 4 months ago

What's Changed

Full Changelog: https://github.com/jaredwray/cache-manager/compare/2024-06-17...2024-07-03

cacheable - 2024-06-17

Published by jaredwray 4 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/jaredwray/cache-manager/compare/2024-06-05...2024-06-17

cacheable - 2024-06-05

Published by jaredwray 5 months ago

What's Changed

Full Changelog: https://github.com/jaredwray/cache-manager/compare/2024-05-23...2024-06-05

cacheable - 2024-05-23

Published by jaredwray 5 months ago

What's Changed

Full Changelog: https://github.com/jaredwray/cache-manager/compare/2024-05-22...2024-05-23

cacheable - 2024-05-22

Published by jaredwray 5 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/jaredwray/cache-manager/compare/2024-04-29...2024-05-22

cacheable - 2024-04-29

Published by jaredwray 6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/jaredwray/cache-manager/compare/2024-04-05...2024-04-29

cacheable - 2024-04-05

Published by jaredwray 7 months ago

Migration to new Mono Repo

We have migrated to the new mono repo and have included all packages from node-cache-manager. We will be shutting down the github org and legacy repos in the next 30 days (May 5th). All issues should be here moving forward. In addition to the mono repo there are some changes:

  • cache-manager-redis-yet - this has a breaking change of support from nodejs v16 to 18+

What's Changed

Full Changelog: https://github.com/jaredwray/cache-manager/compare/v5.5.0...2024-04-05

cacheable - v5.5.0

Published by jaredwray 7 months ago

Added Event Errors

Cache Manager now does not throw errors by default. Instead, all errors are evented through the error event. Here is an example on how to use it:

const memoryCache = await caching('memory', {
  max: 100,
  ttl: 10 * 1000 /*milliseconds*/,
});
memoryCache.on('error', (error) => {
  console.error('Cache error:', error);
});

What's Changed

New Contributors

Full Changelog: https://github.com/node-cache-manager/cache-manager/compare/v5.4.0...v5.5.0

cacheable - v12.0.1

Published by jaredwray 7 months ago

What's Changed

Full Changelog: https://github.com/jaredwray/cacheable/compare/v12.0.0...v12.0.1

cacheable - v12.0.0

Published by jaredwray 8 months ago

v12.0.0 Removing support of Nodjs 16.

cacheable-request now only supports nodejs 18+

What's Changed

Full Changelog: https://github.com/jaredwray/cacheable/compare/v11.0.0...v12.0.0

cacheable - v5.4.0

Published by jaredwray 9 months ago

Refresh cache keys in background

Both the caching and multicaching modules support a mechanism to refresh expiring cache keys in background when using the wrap function.
This is done by adding a refreshThreshold attribute while creating the caching store or passing it to the wrap function.

If refreshThreshold is set and after retrieving a value from cache the TTL will be checked.
If the remaining TTL is less than refreshThreshold, the system will update the value asynchronously,
following same rules as standard fetching. In the meantime, the system will return the old value until expiration.

What's Changed

Full Changelog: https://github.com/node-cache-manager/node-cache-manager/compare/v5.3.2...v5.4.0

cacheable - v11.0.0

Published by jaredwray 9 months ago

Cacheable-Request v11.0.0

This release has added support for Nodejs v20+, fixing source map issues, and a major upgrade to get-stream v8+ and more. All functionality should remain the same but is a significant update that needs to validated with your use case. Any questions or concerns please log an issue here: https://github.com/jaredwray/cacheable/issues

What's Changed

Full Changelog: https://github.com/jaredwray/cacheable/compare/v10.2.12...v11.0.0

cacheable - v5.3.2

Published by jaredwray 10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/node-cache-manager/node-cache-manager/compare/v5.3.0...v5.3.2

cacheable - v5.3.1

Published by jaredwray 11 months ago

Major fix as 5.3.0 did not have the dist folder on release.

What's Changed

New Contributors

Full Changelog: https://github.com/node-cache-manager/node-cache-manager/compare/5.2.4...v5.3.1

cacheable - v5.3.0

Published by jaredwray 11 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/node-cache-manager/node-cache-manager/compare/5.2.4...v5.3.0

cacheable - 5.2.4

Published by jaredwray about 1 year ago

Updates 🍻

What's Changed

New Contributors

Full Changelog: https://github.com/node-cache-manager/node-cache-manager/compare/5.2.3...5.2.4

cacheable - 2023-10-05

Published by jaredwray about 1 year ago

What's Changed

Full Changelog: https://github.com/jaredwray/cacheable/compare/2023-09-05...2023-10-05

cacheable - 2023-09-05

Published by jaredwray about 1 year ago

What's Changed

Full Changelog: https://github.com/jaredwray/cacheable/compare/2023-07-26...2023-09-05