The htmax.js file bundles htmx with the most popular extensions in a single file:
hx-ssehx-wshx-preloadhx-browser-indicatorhx-downloadhx-pendinghx-targetshx-livehx-upserthx-alpine-compathx-history-cache(included but disabled by default)
The extensions are automatically available, you can just use their attributes directly (e.g. hx-sse:connect, hx-ws:connect).
<script src="/js/htmax.min.js"></script>
To enable history caching, opt in via the meta tag:
<meta name="htmx-config" content='{"historyCache": {"disable": false}}'>