Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@code-mancers/strapi-plugin-stellate

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code-mancers/strapi-plugin-stellate

Strapi Plugin Stellate is a plugin for the Strapi headless CMS that provides a convenient way to purge the cache.

  • 1.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-16.67%
Maintainers
4
Weekly downloads
 
Created
Source

strapi-plugin-stellate

Strapi Plugin Stellate is a plugin for the Strapi headless CMS that provides a convenient way to purge the cache.

Instalation

To install this plugin, you can run the following command in your Strapi project:

npm install @code-mancers/strapi-plugin-stellate

OR

yarn add @code-mancers/strapi-plugin-stellate

Configuration

Configure the plugin by adding the necessary lines to the config/plugins.js file in your Strapi application, including the Stellate API endpoint URL and authentication token.

module.exports = ({ env }) => ({
"stellate": {
    enabled: true,
    config: {
      stellateToken: <STELLATE_TOKEN>,
      stellateUrl: <STELLATE_URL>,
    },
  },
})

STELLATE_URL : URL endpoint of the Stellate API service used to clear the cache.

STELLATE_TOKEN : An authentication token used to access the stellate API.

Note: This information should be provided in the plugin configuration. You would need to enter the correct URL endpoint and necessary authentication or authorization tokens to successfully clear the cache.

Usage

To clear the cache after running npm run develop or yarn develop in the Strapi application, go to the dropdown and select the collection type for which you want to clear the cache, then click Purge Cache, which will make an HTTP request to the designated URL endpoint with the required authentication token and clear the Strapi CMS cache.

DashBoard Selection UI Success

Contribution

If you would like to contribute to the development of Strapi Plugin Stellate, you can do so by following these steps:

Fork the repository on GitHub. Make your changes and commit them to a new branch on your fork. Submit a pull request to the main repository with a description of your changes. Your contributions are appreciated!

Keywords

FAQs

Package last updated on 12 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc