Home > Backend Development > PHP Tutorial > 关于图片缓存的有关问题

关于图片缓存的有关问题

WBOY
Release: 2016-06-13 12:44:53
Original
724 people have browsed it

关于图片缓存的问题
网站用的是thinkphp开发,isapi_rewrite3重定向URL,IIS6服务器

但是
1.IIS启动内容过期
2.php设置header()
3.html加入
都无法让浏览器缓存图片,到底是什么原因


怎样才能做到,即使浏览器F5刷新也不会清除图片缓存?
比如这个网址http://nanning.xjwy.cn/bao/img_show.php?imgurl=http://nanning.xjwy.cn/upload_files/qb_bao_/1/87829_20130516110511_7bwar.jpg&baoban=

只加载一次图片,后面刷新都不会清除图片。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template