Skip to main content
Known Participant
September 26, 2024
Question

Caching Issues with Frameless Output

  • September 26, 2024
  • 3 replies
  • 958 views

I used build our help with a Responsive HTML preset that used the Azure Blue template for the layout.

 

I recently changed to a frameless preset that uses the Top Navigation template for the layout.

 

Since I've made the change, there have been issues when the help is deployed. The intro page will not display the top navigation. After about a half-hour, the page will refresh and the navigation will display. We've trying putting code into the pages to force them to refresh, but it doesn't work. The issue seems to be with the skin template. 

 

These are the errors we're seeing in the console.

 

topicpage.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'split')
at e.value (topicpage.js:1:68122)
at e.value (topicpage.js:1:67497)
at topicpage.js:1:67096
at e.exports (topicpage.js:51:38605)
at e.exports [as map] (topicpage.js:51:115139)
at e.value (topicpage.js:1:67068)
at usersettings.js:33:9
at usersettings.js:62:3

 

intro.htm:1 Refused to apply style from 'https://dev210.cognero.com/Help/TestGenerator/template/Azure_Blue/userstyles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

 

intro.htm:1 Refused to apply style from 'https://dev210.cognero.com/Help/TestGenerator/template/Azure_Blue/userstyles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

This topic has been closed for replies.

3 replies

Peter Grainge
Community Expert
Community Expert
October 1, 2024

This is a well known method of refreshing every time the user accesses the page.

 

Either inject it into the head section of every topic or put it in the head section of a topic layout.

 

<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Known Participant
October 1, 2024

We've tried this, but it doesn't solve the issue. The issue is with the top navigation not loading. It is still looking for the Azure Blue template. Putting this code into the individual pages does not force the navigation header to reload. If there's a way to put this into the Top Navigation template. I'd be happy to try that. 

Peter Grainge
Community Expert
Community Expert
October 1, 2024

In that case I would try what you suggested at https://community.adobe.com/t5/robohelp-discussions/caching-issues-with-frameless-output/m-p/14884798#M155432

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Peter Grainge
Community Expert
Community Expert
September 27, 2024

Have you tried deleting everything from the server and then publishing again?

________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Known Participant
September 27, 2024

That's been our process. We delete the old files from the server and then upload the new ones. Then we do an IIS reset.

Jeff_Coatsworth
Community Expert
Community Expert
September 27, 2024

Hmm, if your IT doesn't turn anything up, then I'd give the RH folks a ping.

Jeff_Coatsworth
Community Expert
Community Expert
September 26, 2024

You don't mention what version of RH you're running and creating this output in, but Patch 5 just got released, so you might want to grab a copy of it on another non-RH machine and try it out with a copy of your content.

Known Participant
September 26, 2024

I'm using version 2022.0.346

Jeff_Coatsworth
Community Expert
Community Expert
September 26, 2024

So you're several versions behind - try updating to at least Patch 3 and see if there's any difference - (Patch 4 has some issues that Patch 5 are supposedly correcting).