Don't send data if not modified

This commit is contained in:
2026-02-06 18:52:55 +03:00
parent 9935bc7f1f
commit 0f5d1b5221
5 changed files with 54 additions and 2 deletions
+4
View File
@@ -3,6 +3,10 @@
hx-get="/m/steam"
hx-trigger="every 1m"
hx-swap="outerHTML"
hx-headers='{
"If-Modified-Since": {{ (recent.last_updated, owned.last_updated) | max | int }},
"If-None-Match": "{{ steam_etag() }}"
}'
>
<h2><a href="https://steamcommunity.com/id/risdeveau">Steam</a></h2>