Commits

Donald Stufft committed c8bf568

Only cache pages for 15 minutes

  • Participants
  • Parent commits c81eb19

Comments (0)

Files changed (1)

         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")]