Skip to main content
Inspiring
January 11, 2012
Question

RH9 Is there a "no cache" switch?

  • January 11, 2012
  • 2 replies
  • 1909 views

We're having problems immediately seeing some topics live because of cache issues on the proxy server. My programmer asked me to poke around in the project to see if there was a switch in the primary layout that would make "no cache" the default for all of the topics, but we couldn't find it.

He does NOT want me to copy/paste "no cache" HTML code into the individual topics because he said the code may go away with future updates.

Is there some setting I can use to do this?


Thanks!

    This topic has been closed for replies.

    2 replies

    Willam van Weelden
    Inspiring
    January 11, 2012

    Hi,

    There's no option that I know of. A solution may be: You can use a search and replace operation on your output to quickly replace all occurances of <head> with <head><META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">. This will add the required HTML code in your output, but when you generate your output again you need to execute the search and replace operation again.

    Greet,

    Willam

    Praful_Jain
    Participating Frequently
    January 12, 2012

    The best option available as of now is to use extendscript to make change in the output files. this way each time the output is generated, the script will patch all files, and at any point in time you can change the script as required.

    Praful_Jain
    Participating Frequently
    January 13, 2012

    Just to add to my reply, I created an extendscript to add no cache meta data in the output files. I am attaching the file, so that any RoboHelp user who wants to use this script can download and use it,

    1. Download the attached script file from URL provided https://workspaces.acrobat.com/app.html#d=z5FcCv0r*s5kvU6IIXuXTw
    2. Open RoboHTML 9
    3. Go to View >Pods >Script Explorer
    4. This will open a script explorer pod, right click on the pod and select import option, and browse to the downloaded script file
    5. NoCacheMeta script file will now show in the script explorer.
    6. Open the project where you want to run this script, Right click on the NoCacheMeta Script file shown in the script explorer, and select Run menu option.
    7. It will run the script file, which will show a UI to select the SSL which will be generated, and after generation, it will automatically add the no cache meta information to the output files.

    Hope this helps.

    Thanks

    Praful Jain

    Adobe RoboHelp Team

    Message was edited by Peter Grainge to fix link.

    Captiv8r
    Legend
    January 11, 2012

    Hi there

    Sorry, but there is no setting I'm aware of for this.

    Please feel free to suggest it! (Use the Wish Form link in my sig)

    Cheers... Rick

    Helpful and Handy Links

    RoboHelp Wish Form/Bug Reporting Form

    Begin learning RoboHelp HTML 7, 8 or 9 within the day!

    Adobe Certified RoboHelp HTML Training

    SorcerStone Blog

    RoboHelp eBooks