阅读背景:

PHP如何不缓存生成的HTML,但缓存静态数据,如images / js / css

来源:互联网 

Many PHP developers add the no-cache header on top of their PHP pages, so do I, for obvious reasons. Since PHP generated content is usually dynamic, having the browser cache them results in outdated data being presented to the user. To avoid this caching is usually disabled.Many PHP developers add the no-cache header on




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: