netlify-plugin-debug-cache

Debug what is in your Netlify Build Cache

Usage no npm install needed!

<script type="module">
  import netlifyPluginDebugCache from 'https://cdn.skypack.dev/netlify-plugin-debug-cache';
</script>

README

Netlify Plugin Debug Cache

Debug & verify the contents of your Netlify build cache

Install

To install, add the following lines to your netlify.toml file, after any other plugins you may have added:

[[plugins]]
package = "netlify-plugin-debug-cache"

Note: The [[plugins]] line is required for each plugin, even if you have other plugins in your netlify.toml file already.

After the build is complete, download the built assets and inspect the cache manifest file.

In Netlify, you can download the build with this icon

image

Then inspect the cache output

image