Copy link to clipboard
Copied
Hello all
RH10 to webhelp
I just received a call from an ongoing client. He's reporting that they are experiencing TOC caching issues in IE only. A topic and a book in the TOC that we removed in the latest updates are still appearing in the TOC, but obviously are dead links to topics that no longer exist. He said they cleared the folder and replaced it entirely with the new output files. They clear the cache but they keep showing up. He says they don't have this issue in Chrome.
Any ideas?
Thanks,
Laurie
Speaking of meta tags, I discovered something interesting yesterday.
If you paste the tags into the <head> tag of the master page, they don't show up in the output. If, however, you paste them into Robohelp's "header" area, they are automagically copied into the <head> tag and do show up in output.
(I originally managed to get around the issue by including them in the screen layout (HTML5 Multiscreen) but this workaround is probably easier.)
Copy link to clipboard
Copied
Not much you can do to force a browser to dump its cache and refresh as far as I know.
Copy link to clipboard
Copied
It looks like there is a more thorough way to clear cache by using the developer tools in IE. Maybe this might help??
Copy link to clipboard
Copied
He would ideally be looking for a way to not cache or to automatically clear the cache so his clients don't have to manually do it each time (they likely wouldn't know that they even would need to, and would just be confused by orphan links in the TOC).
I found info re using meta tags to disable the cache (Disable Browser Caching with Meta HTML Tags [Cristian Sulea]). I inserted the tags into the master page header according to the instructions, but curiously they are not included in the output topics. I manually inserted it into the index.htm, and have sent the output to the client to test. I can't test it because I'm not experiencing the issue.
Copy link to clipboard
Copied
Just to close the loop (sort of) on this: I passed along the info to the client, as mentioned above. When I later followed up with him, he said that they had "decided not to worry about it. No end users have reported issue. It’s mostly new users who use the online help, and they wouldn’t experience any caching issues."
Copy link to clipboard
Copied
Speaking of meta tags, I discovered something interesting yesterday.
If you paste the tags into the <head> tag of the master page, they don't show up in the output. If, however, you paste them into Robohelp's "header" area, they are automagically copied into the <head> tag and do show up in output.
(I originally managed to get around the issue by including them in the screen layout (HTML5 Multiscreen) but this workaround is probably easier.)
Copy link to clipboard
Copied
Thanks Amber, I'll try that for the next time I do updates for this client.
Laurie
Copy link to clipboard
Copied
Hi Amebr,
could you please help me with information on what you meant by 'Robohelp's "header" area'?
I am experiencing the same problem as described here, but I'm not sure where to copy the tags in the project.
Thank you,
Daniel
Copy link to clipboard
Copied
Amebr, allow me
Hi Daniel
Good timing, I just revisted this client project this week and implemented Amebr's suggestions, and they did indeed work.
CAVEAT:
This resolved the problem of getting the meta tags into all topics - I don't know if it resolved the client's reported caching issue.
Cheers,
Laurie
Copy link to clipboard
Copied
Thanks Laurie. Looking back on my original post, I should have been clearer - I blame over-excitement because problem-solving.
Copy link to clipboard
Copied
Dear Laurie,
Thank you for your kind help!
In a text editor, we copied the following lines to the .htt file (which is used by all topics as master page) after the <body> tag, just as you wrote:
<?rh-region_start type="header" ?>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<?rh-region_end type="header" ?>
After saving and generating the output, it does not move to the <head> area, and it does not appear in the <head> areas of the generated topics. We searched for the tag "no-cache" in the generated files, but none of them included this tag. We tried to add a new topic and it does not load in Internet Explorer, only if the cache is deleted manually.
What do you mean by selecting to apply the master page to all topics in my SSL? Is it a menu, or a dialogue panel? How can I adjust its settings?
Thank you in advance,
Daniel
Copy link to clipboard
Copied
After you save, try switching to design view. This should cause the meta tags to move into the head section. You should be able to switch back into HTML to check that this is the case.
I'm not in front of RH at the moment, but from memory you can assign the master page to individual topics, or you can select the master page in the SSL - it should just be a drop-down list you can select from. I think the only difference is that the first method means you can have multiple master pages and might miss assigning the master page to some topics, while the second method means the master page is applied to all topics in the project (and you can only use one at a time).
Copy link to clipboard
Copied
I thought the issue might have been that Daniel made the change in an external text editor. I retested this to get screen shots, and now I'm getting different results.
Daniel, here's how I initially made the change:
CAVEAT #2 / appeal to Amebr:
When I first tried this, the meta tags were indeed applied to the head section of each topic. When I just ran through this process again however, they are not. They do appear in the topic further down, just not in the Head section (they are in the first Div between the scripts and the rest of the body). I don't know what changed, nor if meta tags work outside of the Head section.
Copy link to clipboard
Copied
For caveat 2, it's entirely possible the behaviour changed in an update. I think I was on 11.01 at the time of my original post and now am on 11.0.4.
I believe meta tags are invalid in the body in HTML4, so I wouldn't expect them to work (or at least not reliably).
For webhelp, you might need to manually update the index page each time you generate - I did this many years ago, and because the file didn't change, we just kept a backup of that file and pasted it into the output directory after each compile; I haven't tried this recently though.
Or modify the seed files in the Robohelp installation directory - but these will probably be overwritten each upgrade, so that's a risk you'd have to consider.
Or contact Adobe and see if they can offer a solution - it's possible this is a bug.