JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5184
  • Score
    100M100P100Q134757F
  • License MIT

Speed-up HTTP requests with LRU cache

Package Exports

  • strapi-plugin-rest-cache/server/types
  • strapi-plugin-rest-cache/server/types/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (strapi-plugin-rest-cache) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Strapi REST Cache Plugin

Speed-up HTTP requests with LRU cache.

NPM Version Monthly download on NPM

Table of Contents

🚦 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.x.x (Assumed, but possibly not tested)

If you are looking for a plugin for Strapi v3.x, please check the strapi-middleware-cache.

🚚 Getting Started

Read the Docs to Learn More.

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: sacha@digisquad.io or ping stf#3254 on Discord.

License

See the LICENSE file for licensing information.