Webhelp Responsive: prevent caching
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 167
- Joined: Tue Mar 06, 2018 1:34 am
Webhelp Responsive: prevent caching
Using Dita with Webhelp responsive.
I update my documentation frequently. Many times, I make a change and the users do not see it until after they refresh the page.
Is there anything I can do about this?
I noticed this article: https://www.oxygenxml.com/doc/versions/ ... hl=caching
but this article is about Docbook and webhelp classic.
Is there a similar topic about DITA and webhelp responsive?
I update my documentation frequently. Many times, I make a change and the users do not see it until after they refresh the page.
Is there anything I can do about this?
I noticed this article: https://www.oxygenxml.com/doc/versions/ ... hl=caching
but this article is about Docbook and webhelp classic.
Is there a similar topic about DITA and webhelp responsive?
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Webhelp Responsive: prevent caching
Hello,
If you refer that the end-users need to refresh the web browser page to see the latest revision of the WebHelp output (using the F5 shortcut, or the refresh action), this is intended behavior and that's how it works for each page.
Even in the section from the WebHelp Classic User-Guide that you stumbled upon, reads:
Regards,
Costin
If you refer that the end-users need to refresh the web browser page to see the latest revision of the WebHelp output (using the F5 shortcut, or the refresh action), this is intended behavior and that's how it works for each page.
Even in the section from the WebHelp Classic User-Guide that you stumbled upon, reads:
upon re-loading it in a Web browser on the client side
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 167
- Joined: Tue Mar 06, 2018 1:34 am
Re: Webhelp Responsive: prevent caching
Can you explain why that is the intended behavior? It seems like it should not be. I do not want any situation where my users go to a webpage that I have updated, but that shows the old version. Am I missing something here?
-
- Posts: 222
- Joined: Tue Jul 01, 2014 11:48 am
Re: Webhelp Responsive: prevent caching
Post by bogdan_cercelaru »
Hi,
As explained in the topic that you've indicated, you can use the following meta information to disable browser caching.
but you have to add them using the
parameter from the transformation scenario (instead of editing other WebHelp plugin files indicated in the topic).
Please note that even if you are using the <meta/> elements, any web proxies between the site/server and the user/browser will completely ignore them. You should always use a real HTTP header for headers such as Cache-Control and Pragma.
Regards,
Bogdan
As explained in the topic that you've indicated, you can use the following meta information to disable browser caching.
Code: Select all
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
Code: Select all
${webhelp.fragment.head}
Please note that even if you are using the <meta/> elements, any web proxies between the site/server and the user/browser will completely ignore them. You should always use a real HTTP header for headers such as Cache-Control and Pragma.
Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service