如何为CSS和.jpg/.png/.gif类型的图像设置有效期 [英] how to set expiry date for css and images of type .jpg/.png/.gif

查看:120
本文介绍了如何为CSS和.jpg/.png/.gif类型的图像设置有效期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为CSS和图片设置有效期.如何设置有效期.请告诉我这

谢谢
Manohar

Hi I want to set expiry date for css and images..How to set expiry date..Please tell me about this

thanks
Manohar

推荐答案

CSS或图像不会过期!它们是静态内容,只有被触发才能自动删除.

您可以将它们缓存在系统上.缓存确实有到期参数-请仔细阅读.
CSS or Images do no expire! They are static contents and will not get automatically removed until triggered to do so.

You can cache them on system though. Caching do have expiry parameters - read about them.


这篇关于如何为CSS和.jpg/.png/.gif类型的图像设置有效期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆