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>