Respect HTTP Cache-Control header if available (#450)

Allow stale responses in case of error in order to reduce the number of temporary errors.

Note that the cache will be reset on the first build of every week in any cases, see .github/workflows/update.yml.
This commit is contained in:
Marc Wrobel
2025-06-28 12:57:41 +02:00
committed by GitHub
parent e288cb3e8f
commit 3beb0f6e34
3 changed files with 6 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ jobs:
with:
format: YYYY-ww # 2022-01 to 2022-52 for eg
- name: Cache fetched repositories
- name: Cache fetched repositories and HTTP requests
uses: actions/cache@v4
with:
path: ~/.cache