https://github.com/lukechilds/cacheable-request
Wrap native HTTP requests with RFC compliant cache support
https://github.com/lukechilds/cacheable-request
cache cache-control expires http nodejs request rfc rfc-5861 rfc-7234 wrapper
Last synced: 19 days ago
JSON representation
Wrap native HTTP requests with RFC compliant cache support
- Host: GitHub
- URL: https://github.com/lukechilds/cacheable-request
- Owner: jaredwray
- License: mit
- Created: 2017-06-02T12:35:16.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2024-04-24T15:51:51.000Z (12 months ago)
- Last Synced: 2024-05-01T23:18:27.464Z (12 months ago)
- Topics: cache, cache-control, expires, http, nodejs, request, rfc, rfc-5861, rfc-7234, wrapper
- Language: TypeScript
- Homepage: https://cacheable.org
- Size: 704 KB
- Stars: 286
- Watchers: 8
- Forks: 40
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-nodejs-cn - cacheable-request - 支持符合RFC的缓存的HTTP请求封装 (包 / HTTP)
- awesome-list - cacheable-request
- awesome-nodejs - cacheable-request - Wrap native HTTP requests with RFC compliant cache support. (Packages / HTTP)
- awesome-node - cacheable-request - Wrap native HTTP requests with RFC compliant cache support. (Packages / HTTP)
- awesome-nodejs-cn - cacheable-request - 使用符合RFC的缓存支持包装本机HTTP请求. (目录 / HTTP)
- awesome-nodejs-cn - cacheable-request - 使用符合 RFC 的缓存支持封装原始的 HTTP 请求. (包 / HTTP)
- awesome-nodejs - cacheable-request - Wrap native HTTP requests with RFC compliant cache support - ★ 152 (HTTP)
README
[
](https://github.com/jaredwray/cacheable)
> Caching for Nodejs based on Keyv
[](https://github.com/jaredwray/cacheable/actions/workflows/tests.yml)
[](https://codecov.io/gh/jaredwray/cacheable)
[](https://github.com/jaredwray/cacheable/blob/main/LICENSE)With over `1bn downloads` a year the goal with the `Cacheable Project` is to provide a robust, scalable, and maintained set of caching packages that can be used in various projects. The packages in this repository are:
| Package | Downloads | Description |
|---------|-----------|-------------|
| [cacheable](https://github.com/jaredwray/cacheable/tree/main/packages/cacheable) | [](https://www.npmjs.com/package/cacheable) | Next generation caching framework built from the ground up with layer 1 / layer 2 caching. |
| [cache-manager](https://github.com/jaredwray/cacheable/tree/main/packages/cache-manager) | [](https://www.npmjs.com/package/cache-manager) | Cache Manager that is used in services such as NestJS and others with robust features such as `wrap` and more. |
| [cacheable-request](https://github.com/jaredwray/cacheable/tree/main/packages/cacheable-request) | [](https://www.npmjs.com/package/cacheable-request) | Wrap native HTTP requests with RFC compliant cache support |
| [flat-cache](https://github.com/jaredwray/cacheable/tree/main/packages/flat-cache) | [](https://www.npmjs.com/package/flat-cache) | Fast In-Memory Caching with file store persistence |
| [file-entry-cache](https://github.com/jaredwray/cacheable/tree/main/packages/file-entry-cache) | [](https://www.npmjs.com/package/file-entry-cache) | A lightweight cache for file metadata, ideal for processes that work on a specific set of files and only need to reprocess files that have changed since the last run |
| [@cacheable/node-cache](https://github.com/jaredwray/cacheable/tree/main/packages/node-cache) | [](https://www.npmjs.com/package/@cacheable/node-cache) | Maintained built in replacement of `node-cache` |The website documentation for https://cacheable.org is included in this repository [here](https://github.com/jaredwray/cacheable/tree/main/packages/website).
# How to Use the Cacheable Mono Repo
* [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md) - Our code of conduct
* [CONTRIBUTING](CONTRIBUTING.md) - How to contribute to this project
* [SECURITY](SECURITY.md) - Security guidelines and supported versions## Open a Pull Request
Please follow the [CONTRIBUTING](CONTRIBUTING.md) guidelines provided and remember you will need to do setup on this project such as having redis running (via docker), building the project `pnpm build`, and testing `pnpm test` which will also perform linting.
## Post an Issue
To post an issue, navigate to the "Issues" tab in the main repository, and then select "New Issue." Enter a clear title describing the issue, as well as a description containing additional relevant information. Also select the label that best describes your issue type. For a bug report, for example, create an issue with the label "bug." In the description field, Be sure to include replication steps, as well as any relevant error messages.
If you're reporting a security violation, be sure to check out the project's [security policy](https://github.com/jaredwray/cacheable/blob/main/SECURITY.md).
Please also refer to our [Code of Conduct](https://github.com/jaredwray/cacheable/blob/main/CODE_OF_CONDUCT.md) for more information on how to report issues.
## Ask a Question
To ask a question, create an issue with the label "question." In the issue description, include the related code and any context that can help us answer your question.
## License
[MIT © Jared Wray](LICENSE)