Super balanced & informative writeup, thank you. Can you tell me what you mean by tab sleep restoration?
When you do an htmx navigation to a new page, a discarded tab will "restore" only the last htmx fragment loaded, not the entire html page with style tags. Fix is to use unique url on push that isn't in local cache which forces a server reload on tab wake from discard.
Vary: HX-Request