This repository was archived by the owner on Jan 2, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Netlify Next.js cache
2
2
3
+ [ ![ npm] ( https://img.shields.io/npm/v/netlify-plugin-cache-nextjs )] ( https://www.npmjs.com/package/netlify-plugin-cache-nextjs )
3
4
[ ![ Build Status] ( https://github.com/pizzafox/netlify-cache-nextjs/workflows/CI/badge.svg )] ( https://github.com/pizzafox/netlify-cache-nextjs/actions )
4
5
[ ![ XO code style] ( https://img.shields.io/badge/code_style-XO-5ed9c7.svg )] ( https://github.com/xojs/xo )
5
6
6
7
Cache the ` .next ` folder in Netlify builds.
7
- A [ Netlify plugin] ( https://www.netlify.com/build/plugins-beta/ ) .
8
+ A [ Netlify plugin] ( https://www.netlify.com/build/plugins-beta/ ) [ published on npm ] ( https://www.npmjs.com/package/netlify-plugin-cache-nextjs ) .
8
9
9
10
## Usage
10
11
11
12
This is a Netlify plugin, which will run during your Netlify builds.
12
13
As of now, Netlify plugins are in closed beta.
13
14
You can learn more about them, and apply for the beta [ here] ( https://www.netlify.com/build/plugins-beta/ ) .
14
15
16
+ The npm package name is [ ` netlify-plugin-cache-nextjs ` ] ( https://www.npmjs.com/package/netlify-plugin-cache-nextjs ) .
17
+
18
+ ``` yaml
19
+ plugins :
20
+ - type : netlify-plugin-cache-nextjs
21
+ ` ` `
22
+
15
23
## Contributing
16
24
17
25
### Prequisites
You can’t perform that action at this time.
0 commit comments