strapi-plugin-stellate

0.0.5 • Public • Published

strapi-plugin-stellate (alpha)

This plugin helps with using Stellate in front of a Strapi GraphQL API.

It automatically takes care of invalidating the cache when content is updated in Strapi, no matter the source of the update. (admin panel, GraphQL mutation, REST API, etc)

Usage

  1. Set up Stellate for your Strapi GraphQL API
  2. Install the Strapi plugin: npm install strapi-plugin-stellate
  3. Add the plugin to ./config/plugins.js and add your Stellate service's name and purging API token:
module.exports = {
  stellate: {
    config: {
      serviceName: "...", // REQUIRED: Your Stellate service's name
      purgingAPIToken: "...", // REQUIRED: Your Purging API token
      soft: false, // OPTIONAL: Whether you want to use soft purging
    },
  },
};

Readme

Keywords

none

Package Sidebar

Install

npm i strapi-plugin-stellate

Weekly Downloads

3

Version

0.0.5

License

MIT

Unpacked Size

70.9 kB

Total Files

36

Last publish

Collaborators

  • mxstbr