Files
rose-ash/hosts/ocaml/bin
giles 444cd1ea70 Server: render htmx (HX-Request) responses as HTML, not SX wire format
htmx sends HX-Request header on AJAX calls. The server now detects this
and renders the SX response to HTML via sx_render_to_html before sending.
SX-Request (from SX client navigation) still gets SX wire format.
Also skip response cache for htmx requests (they need fresh HTML renders).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-18 07:14:12 +00:00
..