Commit 63fce00c authored by Taddeus Kroes's avatar Taddeus Kroes

Added Cache-Controle: private header.

parent 7cf43b49
......@@ -155,6 +155,7 @@ class Cache:
#try:
web.http.modified(seconds_to_datetime(last_modified), self.etag())
web.http.expires(timedelta(**self.expires))
web.header('Cache-Control', 'private')
if not server_modified:
# Concatenated content has not been loaded yet, read the cached
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment