https://github.com/siakaramalegos/netlify-plugin-cache-folder
Netlify build plugin to cache the /_cache/ folder between builds
https://github.com/siakaramalegos/netlify-plugin-cache-folder
netlify netlify-plugin
Last synced: 6 months ago
JSON representation
Netlify build plugin to cache the /_cache/ folder between builds
- Host: GitHub
- URL: https://github.com/siakaramalegos/netlify-plugin-cache-folder
- Owner: siakaramalegos
- License: mit
- Created: 2021-01-06T15:51:03.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-05T18:52:03.000Z (about 2 years ago)
- Last Synced: 2024-11-11T13:11:57.620Z (6 months ago)
- Topics: netlify, netlify-plugin
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/netlify-plugin-cache-folder
- Size: 5.15 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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](https://docs.netlify.com/configure-builds/build-plugins/#file-based-installation).
1. Use npm, yarn, or any other Node.js package manager to add this plugin to the dev dependencies:
```bash
npm install -D netlify-plugin-cache-folder
```
or
```bash
yarn add -D netlify-plugin-cache-folder
```1. Create a **netlify.toml** file in the root of your project. Your file should include the plugins section below:
```toml
[build]
command = "npm run build"[[plugins]]
package = "netlify-plugin-cache-folder"
```