From 8d9a1fb5bb84180416e095c6f33022a525117760 Mon Sep 17 00:00:00 2001 From: Donald Stufft Date: Mon, 24 Jun 2013 11:03:30 -0400 Subject: Only cache pages for 15 minutes --- pypi.wsgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypi.wsgi b/pypi.wsgi index e40056f..ed74d43 100644 --- a/pypi.wsgi +++ b/pypi.wsgi @@ -51,7 +51,7 @@ class CacheControlMiddleware(object): def _start_response(status, headers, exc_info=None): script = environ.get("SCRIPT_NAME", None) if script in set(["/simple", "/serversig", "/packages"]): - headers += [("Cache-Control", "max-age=86400, public")] + headers += [("Cache-Control", "max-age=900, public")] else: headers += [("Cache-Control", "private")] -- cgit v1.2.1