X-Clacks-Overhead | hleb.dev

๐Ÿš€ Check out this must-read post from Hacker News ๐Ÿ“–

๐Ÿ“‚ **Category**:

โœ… **What Youโ€™ll Learn**:

I am a big fan of Sir Terry Pratchett. His books influenced my sense of humor and the way I look at things, far beyond just fantasy literature. Some time ago, I added a small but meaningful detail to this blog – the X-Clacks-Overhead HTTP header.

Post cover

This header is a reference to the โ€œGoing Postalโ€ novel and the Clacks system. In short, it is a quiet way to say โ€œGNU Terry Pratchettโ€ – a signal that keeps his name moving through the network, not forgotten.

My blog is served with Cloudflare Pages. It supports custom HTTP response headers via a plain text _headers file placed in the root directory of your website, injecting headers according to the rules you define.

Hereโ€™s the relevant section from my _headers file:

/*
  X-Clacks-Overhead: "GNU Terry Pratchett"

Thatโ€™s it – every request for static assets and HTML gets the header.

If you want to check it yourself, open browser developer tools โ†’ Network tab โ†’ inspect the response headers, or run:

It does nothing useful. It changes nothing about performance or functionality. But sometimes small, unnecessary things are exactly what make the internet better.

๐Ÿ’ฌ **Whatโ€™s your take?**
Share your thoughts in the comments below!

#๏ธโƒฃ **#XClacksOverhead #hleb.dev**

๐Ÿ•’ **Posted on**: 1767450674

๐ŸŒŸ **Want more?** Click here for more info! ๐ŸŒŸ

By

Leave a Reply

Your email address will not be published. Required fields are marked *