by th5 · 4y ago · 0 comments
Currently, I’m doing a hybrid sometimes where I’ll have jquery do a call inside the page when I want one particular area to be fast.
Server side I check for htmx headers, and if so omit headers/footers are just return the body. htmx then handles the html swap and boom, you’ve just turned the page without reloading the whole page.
Simple and straightforward. I also use a plugin to preload the responses on mouseover in some cases for even more snapiness.
I find Laravel + Unpoly a great combination.