aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-12-01 22:44:21 +0000
committerChristopher Baines <mail@cbaines.net>2019-12-01 22:44:21 +0000
commitfdce6c1e158eb04a4390c3ac4f6fc04ffb368013 (patch)
tree7c91201c4b5b9c5fd901fc988bf53676685f8477
parentdb2b54eef07135bbe0c3020c6b8d200f2850b65d (diff)
downloaddata-service-fdce6c1e158eb04a4390c3ac4f6fc04ffb368013.tar
data-service-fdce6c1e158eb04a4390c3ac4f6fc04ffb368013.tar.gz
Stop setting a long max-age for the viewing store items
As as new derivations are loaded, the contents of the page can change.
-rw-r--r--guix-data-service/web/controller.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/guix-data-service/web/controller.scm b/guix-data-service/web/controller.scm
index 4397577..638c870 100644
--- a/guix-data-service/web/controller.scm
+++ b/guix-data-service/web/controller.scm
@@ -172,8 +172,7 @@
((file-name output-id rest ...)
(select-derivations-using-output
conn output-id))))
- derivations))
- #:extra-headers http-headers-for-unchanging-content)))))
+ derivations)))))))
(define handle-static-assets
(if assets-dir-in-store?