Skip navigation
Currently Being Moderated

RH9 Is there a "no cache" switch?

Jan 11, 2012 6:54 AM

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!

 
Replies
  • Currently Being Moderated
    Jan 11, 2012 7:08 AM   in reply to namedujour

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 11, 2012 7:10 AM   in reply to namedujour

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 11, 2012 8:05 PM   in reply to Willam van Weelden

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 27, 2013 4:03 AM   in reply to Praful_Jain

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 27, 2013 3:43 AM   in reply to Praful_Jain

    The link doesnt work anymore - does anyone have a copy of this script as i could do with it

     

    Thanks

     

    James

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 27, 2013 4:04 AM   in reply to j.greenough

    Try again. I have updated the link.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 27, 2013 4:07 AM   in reply to Peter Grainge

    got it - excellent - Many Thanks

     

    James

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points