1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-08-05 13:32:14 +02:00
Gadgetbridge/app
Daniele Gobbetti fc8b959fea Garmin: only add the cache-control header when updating the AGPS file
Prevents it being stale for too long if the user forgets to fetch an updated file.
If the file has to be updated on the watch the response (http status 200) is sent and cached for 14400 seconds, for this period the watch will not request the file again.
Subsequent requests (http status 304) are very small and should not impact battery life negatively, hence they are sent without adding caching directives.
2024-06-08 16:29:52 +02:00
..
src Garmin: only add the cache-control header when updating the AGPS file 2024-06-08 16:29:52 +02:00
build.gradle Add camera implementation 2024-05-13 21:28:43 +00:00
lint-baseline.xml Update linter baseline 2024-02-19 12:14:36 +01:00
proguard-rules.pro Garmin: Fix proguard rules for release builds 2024-05-24 22:24:07 +02:00