Journal
Small reads.
Useful fixes.
Security, accessibility, search and speed. Get to the useful bit.
Journal entries
12 entries shown
- Security headers, explained.HSTS, X-Content-Type-Options, Referrer-Policy, frame protection and Permissions-Policy: what each response header does and how to set it.
- A practical guide to Content-Security-PolicyCSP limits where a page can load and run scripts. Learn what it controls, how to test a policy with report-only, and how to avoid unsafe-inline.
- Alt text that actually helpsAlternative text is how images work for screen-reader users and when images fail to load. Learn the difference between decorative and informative images, with examples.
- Canonical URLs and duplicate contentOne page can have several URLs. Learn what canonical tags do and how to check them.
- HTTPS, TLS and mixed content explainedWhy every site needs HTTPS, what TLS versions to support, how mixed content undermines a padlock, and where HSTS fits in.
- Securing cookies: HttpOnly, Secure and SameSiteHttpOnly, Secure and SameSite restrict how cookies are sent and accessed. Learn what each attribute does and how to set it.
- Titles and meta descriptions, made clear.The title tag and meta description help shape your listing in search results. Learn how to write clear, useful versions and avoid common mistakes.
- robots.txt and sitemaps, done rightrobots.txt controls crawling; a sitemap advertises your URLs; noindex controls indexing. Mixing them up hides pages by accident.
- Finding and fixing broken linksFind broken links, trace their source and check your repairs.
- Faster images: formats, sizing and lazy loadingImages are usually the heaviest thing on a page. Modern formats, correct dimensions and lazy loading cut weight and stop layout jumping.
- Core Web Vitals: LCP, CLS and INPGoogle's three user-experience metrics measure loading, visual stability and responsiveness. Learn what each means, the thresholds, and how to improve them.
- Let scroll pick the stage, not scrub the animationWhy the story on Zenith's homepage stopped tying every number to the scrollbar, and the prerender bug that nearly froze it at stage zero.
- CSP Violation Reporting in 2026: Set Up report-to SafelyLearn to deploy Content-Security-Policy-Report-Only with Reporting-Endpoints and report-to, collect CSP violations safely, and move to enforcement without breaking your site.
- Google Cloud Outage October 2026: What Failed and How to Keep Your Site OnlineThe 20 October 2026 Google Cloud London outage disrupted UK services. Learn why failover struggled and how to reduce website downtime with redundancy, monitoring and recovery tests.
- Node.js October 2026 Security Update: Patch 22, 24 and 26 SafelyNode.js released security fixes on 21 October 2026 for DNS, TLS, Brotli and more. Check affected versions and follow a safe production patching checklist.
- Trusted Types in 2026: Prevent DOM XSS Without Breaking Your WebsiteLearn how to prevent DOM-based XSS using Trusted Types, safe DOM sinks, DOMPurify and CSP report-only mode, with a practical 2026 rollout checklist.
- Critical PHP Security Update: A Practical Website Patching ChecklistTwo critical PHP vulnerabilities are due for a security release on 21 October 2026. Learn how to identify affected websites, prepare safe updates and verify your response.
- How to fix X-Content-Type-Options (nosniff)Add the X-Content-Type-Options: nosniff response header on Nginx, Apache, Cloudflare or Express, verify MIME types, and clear the matching Zenith audit finding.