{{define "content"}}

Test the cache

This route handler shows how the default in-memory cache works. Try updating the value using the form below and see how it persists after you reload the page. HTMX makes it easy to re-render the cached value after the form is submitted.
{{if .Data}} {{.Data}} {{- else}} (empty) {{- end}}

{{template "csrf" .}}
{{end}}