summaryrefslogtreecommitdiffstats
path: root/htdocs
diff options
context:
space:
mode:
authorville <ville@localhost>2009-10-24 15:59:18 +0000
committerville <ville@localhost>2009-10-24 15:59:18 +0000
commitd678b0b76e0b07fcda44af27fac0d02f3dfbe63c (patch)
treeeb50ed4b99cd6065504d9082d23ac636e04ffbd1 /htdocs
parente901993d2506ee76d262343d970706029d619e5f (diff)
downloadmarkup-validator-d678b0b76e0b07fcda44af27fac0d02f3dfbe63c.zip
markup-validator-d678b0b76e0b07fcda44af27fac0d02f3dfbe63c.tar.gz
markup-validator-d678b0b76e0b07fcda44af27fac0d02f3dfbe63c.tar.bz2
Add option to use file based template caching. Doing it in non-mod_perl
environments results in a noticeable performance improvement.
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/config/validator.conf10
1 files changed, 9 insertions, 1 deletions
diff --git a/htdocs/config/validator.conf b/htdocs/config/validator.conf
index 2853e28..61a761c 100644
--- a/htdocs/config/validator.conf
+++ b/htdocs/config/validator.conf
@@ -1,7 +1,7 @@
# Main Configuration File for the W3C Markup Validation Service.
#
-# $Id: validator.conf,v 1.37 2009-09-16 19:15:19 ville Exp $
+# $Id: validator.conf,v 1.38 2009-10-24 15:59:18 ville Exp $
#
# See 'perldoc Config::General' for the syntax, and be aware that the
# 'SplitPolicy' is 'equalsign', ie. keys and values are separated by '\s*=\s*',
@@ -27,6 +27,14 @@
# Location of template files
Templates = $Base/share/templates
+ #
+ # Directory where to store cached templates. Relative paths are
+ # treated as relative to the system temporary directory. Templates
+ # are not cached at all if this option is empty or not set, except
+ # with mod_perl setups where this option has no effect and templates
+ # are always cached in memory.
+ #Cache = validator
+
# configuration file for HTML Tidy Module, if available
TidyConf = $Base/htdocs/config/tidy.conf