v1.1.30
Fixed
- Cmd+K search now actually loads its WebAssembly — Pagefind core JS is cache-busted per deploy. The v1.1.28 CSP fix (
wasm-unsafe-eval) was correct at the origin, but Cloudflare had edge-cached/pagefind/pagefind-worker.jswith the old CSP header. Because that file's bytes never change between deploys, conditional revalidation kept returning304and serving the stale header — a "Purge Everything" was re-revalidated straight back to it, so search stayed broken. The build now appends a build-unique stamp to Pagefind's non-fingerprinted core JS (pagefind.js,pagefind-worker.js,pagefind-ui.js) so their ETag changes each deploy, forcing a full200that ships the current CSP. The search worker can compile its WASM module again.