You may have witnessed that, although you updated your Progressive Web Application (PWA) content and have republished it, your app's updated content will not display when you refresh your browser. This article explains why this occurs and how you can resolve it.
- Published Progressive Web Application
You have made a change/update to your PWA's content. Nonetheless, when you try to access it using your browser, you notice that the updates are not reflected and the content still remains the same as it used to be before the changes.
For example, in the case below you can see how the app is on the CMS side
and how it looks like on the browser (you can see that the 'after refreshing' part is missing)
The root cause lies in that most of the browsers utilize an internal cache to be able to fetch the content in a more rapid way. This way when you try to re-access the same page, the browser can tell that it already has this content and as such it fetches it from its cache instead of requesting the content from the server, where the content is updated.
In order to solve this issue, follow the steps outlined below:
- refresh the browser's cache or
- open up a new browser in a private/incognito mode (depending on the browser you are using).
2. Then try to access your PWA URL again (found on the automated email you receive once you first publish your PWA)
Upon doing so, you will be able to see the latest updated content of your PWA on your browser.
Please sign in to leave a comment.