Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/strapi-community/strapi-plugin-rest-cache
Speed-up HTTP requests with LRU cache.
https://github.com/strapi-community/strapi-plugin-rest-cache
cache rest strapi
Last synced: about 21 hours ago
JSON representation
Speed-up HTTP requests with LRU cache.
- Host: GitHub
- URL: https://github.com/strapi-community/strapi-plugin-rest-cache
- Owner: strapi-community
- License: mit
- Fork: true (patrixr/strapi-middleware-cache)
- Created: 2022-01-20T01:44:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-28T14:11:43.000Z (6 months ago)
- Last Synced: 2024-04-25T14:20:22.003Z (5 months ago)
- Topics: cache, rest, strapi
- Language: JavaScript
- Homepage: https://strapi-community.github.io/strapi-plugin-rest-cache/
- Size: 6.09 MB
- Stars: 113
- Watchers: 5
- Forks: 24
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
## Table of Contents
- [🚦 Current Status](#-current-status)
- [✨ Features](#-features)
- [🤔 Motivation](#-motivation)
- [🖐 Requirements](#-requirements)
- [🚚 Getting Started](#-getting-started)
- [Contributing](#contributing)
- [License](#license)## 🚦 Current Status
This package is currently under development and should be consider **ALPHA** in terms of state. I/We are currently accepting contributions and/or dedicated contributors to help develop and maintain this package.
## ✨ Features
This plugin provide a way to cache **HTTP requests** in order to **improve performance**. It's get inspired by varnish cache which is a popular caching solution.
The cache content is stored by a **provider**, which can be either an in-memory provider, a redis connection, a file system, or any other custom provider.
You can set a **strategy** to tell what to cache and how much time responses should be cached. The cache will be invalidated when the related Content-Type is updated, so you **never have to worry about stale data**.## 🖐 Requirements
Supported Strapi Versions:
- Strapi v4.0.x (recently tested as of January 2022)
- Strapi v4.1.x (recently tested as of March 2022)
- Strapi v4.x.x (Assumed, but possibly not tested)**If you are looking for a plugin for Strapi v3.x, please check the [strapi-middleware-cache](https://github.com/patrixr/strapi-middleware-cache/).**
## 🚚 Getting Started
[Read the Docs to Learn More.](https://strapi-community.github.io/strapi-plugin-rest-cache/)
## Contributing
I/We are actively looking for contributors, maintainers, and others to help shape this package. As this plugins sole purpose within the Strapi community is to be used by other developers and plugin maintainers to get fast responses time.
If interested please feel free to email the lead maintainer Sacha at: [email protected] or ping `stf#3254` on Discord.
## License
See the [LICENSE](./LICENSE.md) file for licensing information.