preload_audit
Audit a URL's preload signals and bfcache eligibility. Checks Speculation Rules, preload tags, deprecated prerender tags, and no-store headers to find optimization issues.
Instructions
Audit Speculation Rules, bfcache eligibility, and LCP preload signals for a URL.
Fetches the page and response headers (SSRF-safe via safe_httpx_get), then checks:
Speculation Rules: (prefetch/prerender actions)
Speculation-Rules HTTP response header (Chrome 122+)
Deprecated tags (removed in Chrome 120)
bfcache blocker: Cache-Control: no-store in response headers
Verdicts: optimised | improvements_available | not_implemented | fetch_error. No Google API calls. No authentication required. Adapted from claude-seo preload_check.py (agricidaniel, MIT).
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": {
"url": "<url>"
},
"name": "preload_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |