diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-05-11 10:23:27 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-05-11 18:05:42 +0200 |
commit | 24b21720f7c3a368efc32017c126e107a5d76f52 (patch) | |
tree | 326f165b42f7b21d703984626ec44144cf0ed67f /graph.js | |
parent | 5899fafbfefcd7682aec8f2caaaad3add678a3c4 (diff) | |
download | guix-24b21720f7c3a368efc32017c126e107a5d76f52.tar guix-24b21720f7c3a368efc32017c126e107a5d76f52.tar.gz |
publish: Advertise a short TTL for "baking" 404s.
* guix/scripts/publish.scm (not-found): Add #:phrase and #:ttl
parameters and honor them.
* tests/publish.scm ("with cache"): Check the 'cache-control' header on
of the 404 response.
Diffstat (limited to 'graph.js')
0 files changed, 0 insertions, 0 deletions