Skip to content

CMS

SvelteKit audit: hooks.server, prerender, and a document cache

· Configuration notes, not a newsroom.

SiteRune fingerprints __sveltekit. Playbook: prerender public pages, set headers in hooks.server.js, do not turn the marketing site into a logged-in app.

Prerender or explain the TTFB

Public docs and marketing should prerender or cache at the edge. A +layout.server.ts that always reads locals.session makes every URL dynamic. SiteRune will flag no-store on the HTML.

hooks.server for headers

HSTS and CSP go in hooks.server or the adapter/proxy. Static /llms.txt in static/. We will not paste a WordPress mu-plugin into a SvelteKit repo.

Run it on a live URL

The brief will name your CMS and attach the files. Three guest scans, no card.

https://