Rh2020 - frameless output and cache
Copy link to clipboard
Copied
We have a frameless output and we are using studio skin. Recently the web server has been moved to AWS/S3/Cloudfront technology. The online help works as expected from the new web technology.
There is just one small issue when we publish subsequent help content updates.
The existing user still sees the cached help files. The user has an option to manually clear the cache and then access the new help updates. But if we dont want the user to manually clear cache the dev team suggested adding a small code snippet in the header of all html help files.
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
To manually add this to hundreds of html files is impossible. Is there a way to add it somewhere at one place in
Robohelp and achieve this? Maybe the master page?
Any thoughts/pointers?
Copy link to clipboard
Copied
Why is adding it impossible? Using Find and Replace would make it very easy.
Find = <head>
Replace =
<head>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
You can opt to back up changed files but I would simply create a backup copy of the project.
________________________________________________________
See www.grainge.org for free Authoring and RoboHelp Information
Copy link to clipboard
Copied
So you mean in RH do this for all files together?
Would adding it to master page help? If that is a better way or easier?
Copy link to clipboard
Copied
You would have to try that by adding the code to a master page header and seeing if it comes through in the output. It will do no harm to your topics to try it.
I am doubtful it will work but let us know if it does.
________________________________________________________
See www.grainge.org for free Authoring and RoboHelp Information
Copy link to clipboard
Copied
I think I'd also create a feature request. Having to remember to add the tags for each new topic you create would be a pain. Probably it should be something you can specify for the output preset or skin, as it should apply to the entire output, not individual topics.
Copy link to clipboard
Copied
Do also note, you need to add a space and forward slash immediately before the right-angle bracket otherwise the RH editor has a bit of a fit.
<meta http-equiv="Expires" content="0" />
Copy link to clipboard
Copied
Noted. Trying the Find and replace way. The master page way did not work.
Copy link to clipboard
Copied
I have logged RH-10132 | Tracker (adobe.com) and believe Adobe will take this one up in a future update. Click the link and add your vote to help.
________________________________________________________
See www.grainge.org for free Authoring and RoboHelp Information