On Developing This Blog

2021-08-14 ยท 1 minute read

I created the blogging server that hosts this page with my bare hands. Well, the HTTP request handling software at least. And I have to say, I thoroughly enjoyed it!

I head to recreate every feature that other blogging frameworks give you for free:

  • providing HTTP to HTTPS redirects

  • make the browser cache pages

  • provide an RSS feed

  • provide correct MIME types for all served files

  • setting up HTTPS

As a result of this endeavour, I have full control over every part of the server. Every header. Every response code. Every URL. No magic.

If you want to learn a bit more about how the web works, I can only recommend writing your own server. I used actix-web and the source code of my server is publicly available.

You liked this article? Feel free to share it using this shortlink: