4 Commits

Author SHA1 Message Date
Abhinav Raut 01c277159c shorten help center cache helper names 2026-08-21 04:31:52 +05:30
Abhinav Raut 3da864b5dd remove comments that narrate rejected designs 2026-08-20 19:11:02 +05:30
Abhinav Raut ae8c6ba6ef fix stale and broken pages in the help center cache
The cache namespace was the help center slug, so a rename or delete stranded
the old namespace and kept serving those pages. It is a fixed namespace now,
which also drops a query per admin write.

Headers are set by the cache wrapper instead of the handlers, because the cache
restores only the body and content type. Search results and .md articles were
losing their noindex on every hit. Also cut the TTL to 5 minutes and clear on
agent writes, so a deleted avatar does not leave a broken image on an article.
2026-08-20 19:07:36 +05:30
Abhinav Raut c865748ca5 switch to Geist and cache help center pages
Geist replaces Instrument Sans and is served from static/ instead of Google
Fonts, so it works on installs with no internet access.

Public help center pages are cached in Redis via fastcache with ETags, and any
admin write clears the group so edits show up on the next load.
2026-08-20 18:01:42 +05:30