Files
smarty/docs/en/programmers/api-variables/variable-cache-modified-check.xml

46 lines
1.3 KiB
XML
Raw Normal View History

2004-04-13 11:47:32 +00:00
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ -->
2005-05-27 16:25:02 +00:00
<sect1 id="variable.cache.modified.check">
<title>$cache_modified_check</title>
<para>
2006-09-27 06:28:21 +00:00
If set to &true;, Smarty will respect the If-Modified-Since
2005-05-27 16:25:02 +00:00
header sent from the client. If the cached file timestamp has
2006-09-27 06:28:21 +00:00
not changed since the last visit, then a <literal>'304: Not Modified'</literal>
2005-05-27 16:25:02 +00:00
header will be sent instead of the content. This works only on
cached content without
2006-09-27 06:28:21 +00:00
<link linkend="language.function.insert"><varname>{insert}</varname></link>
2005-05-27 16:25:02 +00:00
tags.
</para>
<para>
See also
2006-09-27 06:28:21 +00:00
<link linkend="variable.caching"><parameter>$caching</parameter></link>,
<link linkend="variable.cache.lifetime"><parameter>$cache_lifetime</parameter></link>,
<link linkend="variable.cache.handler.func"><parameter>$cache_handler_func</parameter></link>,
and the
<link linkend="caching">caching section</link>.
2005-05-27 16:25:02 +00:00
</para>
</sect1>
2004-04-14 15:53:39 +00:00
2004-04-13 11:47:32 +00:00
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
2004-04-14 15:53:39 +00:00
-->