samsa/internal
Franz Kafka 665494304d perf(htmx): reduce swap payload via OOB swaps and hx-select
Before: every HTMX response returned the full results_inner template
(~400 lines of corrections, meta, pagination, back-to-top) even though
only the result list (#urls) changed between searches.

After:
- Corrections and results-meta use hx-swap-oob="true" — they update
  in-place in the DOM without duplication, no extra payload
- #urls div carries hx-select="#urls" hx-target="#urls" hx-swap="innerHTML"
  — only the result rows are extracted from the response and swapped
- Pagination forms replaced with paginate-btn buttons — JS calls
  htmx.ajax() directly with select:#urls so only result rows reload
- Header search form gains hx-get/hx-target/hx-select for partial updates
  on subsequent searches

Payload reduction per HTMX swap: ~60-70% (no more nav, meta, pagination,
back-to-top, htmx-indicator in the swap response body)
2026-03-23 14:31:21 +00:00
..
autocomplete perf: shared http.Transport with tuned connection pooling 2026-03-23 14:26:26 +00:00
cache rename: kafka → samsa 2026-03-22 23:44:55 +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 rename: kafka → samsa 2026-03-22 23:44:55 +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 perf(htmx): reduce swap payload via OOB swaps and hx-select 2026-03-23 14:31:21 +00:00