- 积分
- 4597
- 注册时间
- 2009-1-9
- 最后登录
- 1970-1-1
|
比如https://bbs.yamibo.com/forum.php ... ;extra=#pid37560465,第一次慢一些正常,但后来每次回帖、编辑、评分后都会重新把所有附件图片重新读入一遍。
感觉是浏览器缓存出了点问题,If-Modified-Since不知怎么没起作用……
请求头信息
GET /forum.php?mod=attachment&aid=NDEyOTU2fGJkZDZhY2I0fDEzODQ3MDk0MzZ8NzIwMTV8MjAyNTUz&noupdate=yes HTTP/1.1
Host: bbs.yamibo.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Cookie: (打码)
Connection: keep-alive
If-Modified-Since: Sun, 17 Nov 2013 16:55:13 GMT
响应头信息
HTTP/1.1 200 OK
Server: nginx/1.0.11
Content-Type: image
Connection: keep-alive
X-Powered-By: PHP/5.2.10
Set-Cookie: EeqY_2132_lastact=1384710298%09forum.php%09attachment; expires=Mon, 18-Nov-2013 17:44:58 GMT; path=/
Date: Sun, 17 Nov 2013 16:55:13 GMT
Last-Modified: Sun, 17 Nov 2013 16:55:13 GMT
Content-Encoding: none
Content-Disposition: inline; filename="48.jpg"
Content-Length: 86057 |
|