on bear blog performance improvements
Over the past week, I've noticed that Bear Blog has been loading significantly faster than before. I took a look at the source code to see why. I could be wrong about some of this, but here's what I found in an initial review of the codebase and recent commits.
### 1. Improved HTTP caching
Tells your browser and CDN (content delivery network) to cache the page for 12 hours instead of requesting it fresh every time. HTTP caching has been around on Bear Blog for a while, but in November 10-12, 2025, Herman extended it to more pages (blog pages, subscribe pages, and 404 pages).
### 2. Redis domain map caching
Stores the domain-to-blog mapping in fast memory so the server doesn't have to query the database repeatedly. Redis is a super-fast database that lives in memory. It's like the difference between grabbing something from your desk drawer (fast) versus going to the basement storage (slower). Regular databases are like the basement: they work, but they're not as quick.

> These perf. optimizations were added between November 10-20, 2025. You can see the commits in the [Bear Blog repository](https://github.com/HermanMartinus/bearblog).