PLAY PODCASTS
Htmx request headers: HX-History-Restore-Request
Season 3 · Episode 7

Htmx request headers: HX-History-Restore-Request

hx-pod

May 10, 20248m 48s

Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

This header is to make sure your system loads the full page when
1) You are suing hx-push-url to work with the url bar
2) Users click the back button.
3) The full page cached history snapshot isn't there

Useful links mentioned:
https://github.com/bigskysoftware/htmx/issues/497

https://htmx.org/docs/#history

Topics

htmx javascript programming laravel livewire minimalism coding html simplicity