Better HN
topnewbestaskshowjobs
Log inSign up

r00ks

6 karma · joined Nov 22, 2023 (3y ago) · 2 submissions

Submissions

comment 2y ago · link · parent

Keeping the url in sync can be done by tracking whether the request has the `HX-Request` header in it and then returning either a partial template or the full the template, example of the helper - https://github.com/Austionian/bl0g/blob/46182cf762e9acefc35e...

The great part of this, too, is caching these responses is still simple with the a `Vary: HX-Request`

comment 3y ago · link · parent

also recently updated to v0.5 - https://github.com/rust-lang/www.rust-lang.org