cwv_generate_cache_config
Generate immutable caching headers and security configuration files for Netlify, Vercel, Nginx, Next.js, Cloudflare, or Apache.
Instructions
Generate immutable caching headers and security configuration files for Netlify, Vercel, Nginx, Next.js, Cloudflare, or Apache.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"framework": "<framework>"
},
"name": "cwv_generate_cache_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| framework | Yes | Target hosting or server framework. | |
| html_ttl_seconds | No | Cache-Control max-age in seconds for HTML documents. Default: 0. | |
| static_asset_ttl_days | No | Cache-Control max-age in days for immutable static assets. Default: 365. |