Skip to main content
Known Participant
March 8, 2016
Question

Browser Cache Issues?

  • March 8, 2016
  • 1 reply
  • 830 views

Hi RoboHelp Community!

My name is Scottie and our team is working with RoboHelp 15 generating Responsive HTML5 help. Our software's installer picks up our compiled help files nightly and we test our files using different web browsers (Chrome, Firefox, and IE). We noticed help updates were not always showing up until we reloaded or refreshed the the browser page.

We cannot force users to manually refresh/reload and our developer recommended adding the following to the html:

<meta http-equiv="cache-control" content="max-age=0" />

<meta http-equiv="cache-control" content="no-cache" />

<meta http-equiv="expires" content="0" />

<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />

This works, but I'm not sure if:

A. Do or can we create a master page with this code and then apply it to each page in our projects?

B. Anyone else has had a similar issue? If so, how did you resolve it?!

Thanks for any time and help!

Scottie Gearing

This topic has been closed for replies.

1 reply

Captiv8r
Legend
March 8, 2016

Hi there

My own question would be to ask where your users are. Are you planning on having the help hosted in a central location and updating it perhaps daily? If so, then I'd say the issue is a valid concern and you need to find a way to ensure they always see the latest and greatest.

But if your help is shipped with an application and the end user installs the app and the help doesn't really change until a new release is made available and shipped to them, it would seem the concerns are a bit overinflated.

Just some thoughts from the edge as we wait for others to chime in.

Cheers... Rick

Known Participant
March 9, 2016

Thanks for getting back to me, Rick!

Currently, end users install updated files quarterly, but we are migrating the help to a local server for continuous updates by the end of summer. Our documentation team installs daily and is constantly clearing our cache.

I am curious how other users handle this issue, but I don't see any related topics! Is this a less common issue? Do you think the meta tags are the best solution?

Scottie

Jeff_Coatsworth
Community Expert
Community Expert
March 9, 2016

I just did a quick search for "cache" in some of the RH forums & it seems that sticking the meta tags in you Master page and then applying it to all topics (either at output via the SSL recipe or within the project itself) will get the code into the resulting HTML topics. Some threads reported issues with the TOC not getting refreshed (in fact some talked about seeing a scrambled version after content updates), but I didn't see a clear programmatic method being promoted to hack the .js code that generates the TOC.