From 9022294b8e553ddc76aad6e0190f214e207f8e8e Mon Sep 17 00:00:00 2001 From: David Cramer Date: Mon, 9 Aug 2010 03:30:45 +0000 Subject: [PATCH] Adding callouts to explain .htaccess recommendations. Added one more future feature idea. --- xsl/webhelp/docsrc/readme.xml | 42 ++++++++++++++++++++++++++++++----- 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/xsl/webhelp/docsrc/readme.xml b/xsl/webhelp/docsrc/readme.xml index 52f97811a..e0c6c08bf 100755 --- a/xsl/webhelp/docsrc/readme.xml +++ b/xsl/webhelp/docsrc/readme.xml @@ -341,6 +341,12 @@ so that when a property is set, the build generates a pdf version of the document and includes a link to it from the header. + + + Add breadcrumbs + so the user will know what topics he's been to. + @@ -432,7 +438,7 @@ saxon.jar in below. Saxon 6.5 must not be in your CLASSPATH - when you generate webhelp. + when you generate webhelp. @@ -658,10 +664,12 @@ indexer-language=en recommend you make the following additions or changes to your httpd.conf or .htaccess file. TODO: Explain what each thing - does.AddDefaultCharSet UTF-8 + does.AddDefaultCharSet UTF-8 # # 480 weeks -<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> +<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> # Header set Cache-Control "max-age=290304000, public" </FilesMatch> @@ -676,7 +684,7 @@ Header set Cache-Control "max-age=7200, must-revalidate" </FilesMatch> # compress text, html, javascript, css, xml: -AddOutputFilterByType DEFLATE text/plain +AddOutputFilterByType DEFLATE text/plain # AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css @@ -687,10 +695,32 @@ AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript # Or, compress certain file types by extension: -<Files *.html> +<Files *.html> SetOutputFilter DEFLATE </Files> - + + + See Odd + characters in HTML output in Bob Stayton's book + DocBook XSL: The Complete Guide for more + information about this setting. + + + + These lines and those that follow cause the browser to + cache various resources such as bitmaps and JavaScript files. + Note that caching JavaScript files could cause your users to + have stale search indexes if you update your document since the + search index is stored in JavaScript files. + + + + These lines cause the the server to compress html, css, + and JavaScript files and the brower to uncompress them to + improve download performance. + + -- 2.40.0