Isaac Bythewood's Blog

Zero downtime deploys with Caddy

One line in Caddy holds requests while a Docker container is replaced, so a deploy looks like a slow page instead of a 502.

Isaac Bythewood Isaac Bythewood
2026-10-03

If you don't know what you're looking for check out some of my older posts.

Adding dark mode with automatic system preference selection
Adding dark mode with automatic system preference selection
Creating a dark, or light, version of your website may seem like a daunting task if you think you need an entirely new color pallet. It's 2022 though and we have the widely supported invert CSS filter.
Isaac Bythewood Isaac Bythewood
2022-07-02
Optimizing SQLite for Django in production
Optimizing SQLite for Django in production
Django's default SQLite settings are fine for development but will hit "database is locked" errors under any concurrency. This is the config I run in production.
Isaac Bythewood Isaac Bythewood
2026-04-18
Using CodeMirror to show formatted code in Wagtail
Using CodeMirror to show formatted code in Wagtail
Going through all the steps to use CodeMirror with Wagtail to show formatted code on the frontend of your site.
Isaac Bythewood Isaac Bythewood
2022-06-11