netlify-plugin-cache-folder
This Netlify build plugin will cache the /_cache/ folder between builds.
Package-based Installation
These are the steps to add this plugin to your project. You can read more in the Netlify docs.
- Use npm, yarn, or any other Node.js package manager to add this plugin to the dev dependencies:
npm install -D netlify-plugin-cache-folder
or
yarn add -D netlify-plugin-cache-folder
- Create a netlify.toml file in the root of your project. Your file should include the plugins section below:
[build]
command = "npm run build"
[[plugins]]
package = "netlify-plugin-cache-folder"