| Headers: _cache(), _cache_none(), _robot_none() | Cache-Control and X-Robots-Tag of an htmx answer (yf_api): no-store for live data, none for fragments search engines must not index. |
| Refusals: _firewall(), _reject(), _forbidden(), _error() | Keep an endpoint for htmx only (_firewall()), or end a request with 503, 403 or 500 and no page. |
| Partial responses: _result(), _wants_fragment(), _vary() | Answer an htmx request with a fragment of the page and end the request; other requests (and a history restore) get the whole page. |
| Redirects: _redirect(), _location(), _refresh() | Send htmx to another page (HX-Redirect), load a page into the current one without a reload (HX-Location), or reload (HX-Refresh). |
| _reswap(), _reselect() | Let the server decide how (HX-Reswap) and which part (HX-Reselect) of its answer htmx swaps, over hx-swap / hx-select of the request. |
| _toast() | Add a Bootstrap 5 toast to an htmx response (HX-Trigger event yf-toast); the response goes on. |