AJAX and HTMX

AJAX is optional: public forms on this site are plain POST + redirect. The server understands HTMX out of the box — a request carrying the HX-Request header gets the page fragment without the layout (works for both public pages and admin pages). The “Try the API” section on the home page demonstrates exactly that: the same page URL returns a fragment when the header is set. Include htmx.js in your layout if you want partial updates; the engine itself ships no JavaScript on public pages except that small demo.

← All articles in this group