From 184ca06ec51b79a288375353734d5e8a64a4409b Mon Sep 17 00:00:00 2001 From: Diego Ripley Date: Thu, 12 Feb 2026 12:07:12 -0500 Subject: [PATCH] Change cache header to 10 minutes. Put back once the site is solidified --- worker/wrangler.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/wrangler.toml b/worker/wrangler.toml index e932f73..64a48a3 100644 --- a/worker/wrangler.toml +++ b/worker/wrangler.toml @@ -16,7 +16,7 @@ ALLOWED_ORIGINS = "https://www.dataforcanada.org" # The `cache-control` header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control. # Optional, the `cache-control` header is omitted if unset, which would NOT disable caching: https://developers.cloudflare.com/workers/runtime-apis/cache/#headers # For example, you can disable all cache by setting this to `no-store`. -CACHE_CONTROL = "max-age=1800, public" +CACHE_CONTROL = "max-age=600, public" # The string to prepend to each file path. Optional, nothing is prepended to the path if unset. PATH_PREFIX = ""