设置为true的时候,Smarty采用浏览器的头信息“If-Modified-Since”。如果上次访问后缓存文件的时间戳并没有发生修改,则会返回“304: Not Modified”给浏览器。
如果缓存模板内有{insert}
标签,该设置将不会生效。
参见
$caching
,
$cache_lifetime
,
和
缓存.
Comments
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
设置为true的时候,Smarty采用浏览器的头信息“If-Modified-Since”。如果上次访问后缓存文件的时间戳并没有发生修改,则会返回“304: Not Modified”给浏览器。
如果缓存模板内有{insert}
标签,该设置将不会生效。
参见
$caching
,
$cache_lifetime
,
和
缓存.