Hi, I am hoping there is a 'simple' answer for this as I have seen a few complicated answers. Long story short, I have a Web AppBuilder app that I built through the Developer edition (2.1) and it is hosted on my website. After it is posted and loaded, if I update certain aspects of the app and change them on the web, they do not reflect due to the browser cache (as far as I am aware).
Robert Scheitlin, GISP pointed me to a couple of very helpful threads but I feel like I need just a little more help so I am posting a new question (sorry GeoNet).
In this thread,
Stan McShinsky asks how to refresh WAB. His conclusion was to edit that last few lines of the main index.html file to reflect this:
He indicated he had little success with this, so I'm a little hesitant on making these changes. Question, what does adding "ver=1.1" do and what can improve this?
In this thread,
Sam Libby linked back to a stacked overflow post that mentions how to 'control web page caching' here:
This sounds like a good answer but I am not sure how to make the changes suggested in the SO post. There are many ways to "set" the change (including using PHP, node.js, ASP, Ruby, etc etc) but I am not skilled enough to know what change I need to make in my app. Question, can someone point me in the right direction on which change I need to make to my Developer Edition WAB application, based on the link above, on how to 'control web browser cache'?
Since that thread was written eight years ago, would it be safe-ish to assume that changing the HTML4 code section would be the right answer?
<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" />
Thanks in advance and sorry for the long post!