【发布时间】:2011-12-03 16:49:05
【问题描述】:
我正在尝试缓存一些静态文件。我正在使用以下 HTTP 标头:
Date Sat, 08 Oct 2011 19:34:30 GMT
Content-Length 770
Last-Modified Wed, 05 Oct 2011 05:45:29 GMT
Server WSGIServer/0.1 Python/2.7.1+
Content-Type text/css
Cache-Control public, max-age=3153600
Expires Sun, 07 Oct 2012 19:34:30 GMT
但是,当我在调试到 WSGI 服务器时通过 Chrome 访问该文件时,服务器仍在处理该文件。
我可能做错了什么?
【问题讨论】:
标签: python caching google-chrome webserver wsgi