How I Survived the Front Page of Hacker News Without Crashing My Server

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

A personal account of how a self-hosted Ghost CMS blog survived a Hacker News front-page spike with 194,000 requests in a single day. The key was a two-layer caching setup: Cloudflare as a CDN/proxy with 'cache everything' rules, and properly configured Ghost cache headers in Docker Compose. With 94% of requests served from

4m read timeFrom danielpetrica.com
Post cover image
Table of contents
Want my expertize applied to you company? Contact meHow Cloudflare Saved My ServerMy Stack: Minimal, Scalable, Docker-BasedTL;DR: Want Your Blog to Survive Hacker News?Need Help Setting This Up?Sign up for Daniel Petrica

Sort: