Don't send data if not modified
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user