Skip to content

StellateHQ/strapi-plugin-stellate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    },
  },
};

About

Strapi CMS plugin that purges content from Stellate

Resources

License

Stars

Watchers

Forks

Packages

No packages published