mysterious-toddler-20573
10/07/2022, 10:29 PMhtmx:afterRequest event: https://htmx.org/events/#htmx:afterRequest you can grab the xhr, get the content out and have a go at the header. @most-flag-2080 is right in this case: Turbolinks I believe has been doing this for a long time. The boost functionality was added to htmx as an afterthought, I was more focused on making HTML more expressive and it felt too "magical" to me, so I kept it simple and effectively said "load all your JS up front or inline (w/ hyperscript. for example").