validator/share/templates/en_US header.tmpl,1.24,1.25

Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv16654/share/templates/en_US

Modified Files:
	header.tmpl 
Log Message:
Tweaking the cache settings:
- images already have a very long max-age
- adding a default reasonable max-age for interfaces and docs (in sample httpd.conf)
- check and feedback page, handled by the template+cgi, will issue a Cache-Control: no cache (in header.tmpl)



Index: header.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/header.tmpl,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- header.tmpl	18 Aug 2005 04:56:47 -0000	1.24
+++ header.tmpl	24 Oct 2005 12:09:52 -0000	1.25
@@ -3,6 +3,7 @@
 X-W3C-Validator-Recursion: <TMPL_VAR NAME="depth" DEFAULT="1"><TMPL_IF NAME="valid_status">
 X-W3C-Validator-Status: <TMPL_VAR NAME="valid_status"></TMPL_IF><TMPL_IF NAME="valid_errors_num">
 X-W3C-Validator-Errors: <TMPL_VAR NAME="valid_errors_num"></TMPL_IF>
+Cache-Control: <TMPL_IF NAME="cache_control_value"><TMPL_VAR NAME="cache_control_value"><TMPL_ELSE>no-cache</TMPL_IF>
 
 <?xml version="1.0"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

Received on Monday, 24 October 2005 12:09:58 UTC