Netlify Caching
Netlify Caching speeds up your static site by temporarily storing assets for faster delivery to users, boosting performance and reducing server load.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add netlify-caching npx -- -y @trustedskills/netlify-caching
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"netlify-caching": {
"command": "npx",
"args": [
"-y",
"@trustedskills/netlify-caching"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The netlify-caching skill allows AI agents to leverage Netlify's caching capabilities. It enables efficient deployment and serving of static assets, reducing load times and improving user experience by automatically managing cache invalidation based on build hooks and deployments. This ensures users always receive the latest version of your site while minimizing server costs.
When to use it
- Deploying a new website or application: Automate cache clearing after each deployment to ensure fresh content is served immediately.
- Updating static assets (images, CSS, JavaScript): Trigger cache invalidation automatically when these files are modified.
- Managing multiple environments (staging, production): Easily control caching behavior across different Netlify sites.
- Improving website performance: Reduce server load and improve page load times by utilizing cached content effectively.
Key capabilities
- Automated cache invalidation on deployments
- Integration with Netlify build hooks
- Management of multiple Netlify sites
- Efficient serving of static assets
Example prompts
- "Invalidate the cache for my production site."
- "Clear the cache after this deployment completes."
- "What's the status of the last cache invalidation?"
Tips & gotchas
- Requires a Netlify account and access to your site’s settings.
- Ensure proper configuration of build hooks for automatic cache invalidation.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.