Disable Caching in WebHelp Classic Output
In cases where a set of WebHelp Classic pages need to be updated on a regular basis to deliver the latest version of the documentation, the WebHelp pages should always be requested from the server upon re-loading it in a Web browser on the client side, rather than re-using an outdated cached version in the browser.
To disable caching in WebHelp Classic output, follow this procedure:
- Edit the following XSL file for DITA or DocBook
                     WebHelp systems:- For DITA WebHelp systems, edit the following
                           file: DITA_OT_DIR\plugins\com.oxygenxml.webhelp\xsl\createMainFiles.xsl.
- For DocBook WebHelp system, edit the
                           following file: [OXYGEN_INSTALL_DIR]\frameworks\docbook\xsl\com.oxygenxml.webhelp\xsl\createMainFiles.xsl.
 
- For DITA WebHelp systems, edit the following
                           file: 
- Locate the following template in the XSL file: <xsl:template name-"create-toc-common-file">and add the following code snippet:<meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="-1" /> NoteThe code should look like this:<html> <head> <xsl:if test="$withFrames"> <base target="contentwin"/> </xsl:if> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <!-- Disable caching of WebHelp pages in web browser. --> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="-1" /> ....
- Save your changes to the file.
- Re-run your WebHelp system transformation scenario.
