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:
2
.github/workflows/update.yml
vendored
2
.github/workflows/update.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user