samsa/internal
Franz Kafka b57a041b6a
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 7s
Mirror to GitHub / mirror (push) Failing after 5s
Tests / test (push) Successful in 27s
perf: use Redis for favicon cache with 24h TTL
Favicons are now cached in Valkey/Redis instead of an in-memory map:
- TTL: 24 hours (up from 1 hour in-memory)
- ETag derived from body SHA256 (no extra storage needed)
- Falls back to in-memory on cache miss when Valkey is unavailable
- GetBytes/SetBytes added to cache package for raw byte storage

In-memory faviconCache map, sync.RWMutex, and time-based expiry
logic removed from handlers.go.
2026-03-23 14:38:32 +00:00
..
autocomplete perf: shared http.Transport with tuned connection pooling 2026-03-23 14:26:26 +00:00
cache perf: use Redis for favicon cache with 24h TTL 2026-03-23 14:38:32 +00:00
config rename: kafka → samsa 2026-03-22 23:44:55 +00:00
contracts rename: kafka → samsa 2026-03-22 23:44:55 +00:00
engines perf: shared http.Transport with tuned connection pooling 2026-03-23 14:26:26 +00:00
httpapi perf: use Redis for favicon cache with 24h TTL 2026-03-23 14:38:32 +00:00
httpclient perf: shared http.Transport with tuned connection pooling 2026-03-23 14:26:26 +00:00
middleware rename: kafka → samsa 2026-03-22 23:44:55 +00:00
search perf: shared http.Transport with tuned connection pooling 2026-03-23 14:26:26 +00:00
upstream perf: shared http.Transport with tuned connection pooling 2026-03-23 14:26:26 +00:00
util rename: kafka → samsa 2026-03-22 23:44:55 +00:00
views feat: self-hosted favicon resolver via /favicon/<domain> 2026-03-23 14:35:19 +00:00