A GDPR-Compliant YouTube EmbedAn Astro component that loads YouTube only after a click: show once, agree and remember, or just the link. No cookie, no request to Google before consent.
Astro Client Islands under a Strict CSPWhy Astro islands fail silently under script-src 'self', how I allowed the two hydration inlines by sha256 hash, and a deploy check for hash drift.
Caching Webmention Avatars LocallyAn Astro helper that downloads webmention avatars during the build, dedupes and sweeps them, so the CSP stays strict and readers never hit the avatar host.
Leaflet and Stadia Maps Behind a Strict CSPTwo fixes that made the photo world map work in production: the tile host in img-src and a Referrer-Policy of origin on the tiles.
Security Headers in CaddyA strict Content Security Policy, HSTS and no-referrer in a Caddy site block, checked with Webbkoll, securityheaders.com and the Mozilla Observatory.