
html怎么设置http头部缓存
1个回答
展开全部
用于设定网页的到期时间,一旦过期则必须到服务器上重新调用。需要注意的是必须使用GMT时间格式;
<meta http-equiv="Expires" contect="Mon,12 May 2001 00:20:00 GMT">
用于设定禁止浏览器从本地机的缓存中调阅页面内容,设定后一旦离开网页就无法从Cache中再调出;
<meta http-equiv="Pragma" contect="no-cache">
<meta http-equiv="Expires" contect="Mon,12 May 2001 00:20:00 GMT">
用于设定禁止浏览器从本地机的缓存中调阅页面内容,设定后一旦离开网页就无法从Cache中再调出;
<meta http-equiv="Pragma" contect="no-cache">
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询