Some test text!
Web / FAQ / Load updated WebViewer files without clearing cache
Change the actual file location of WebViewer's lib folder for each version.
Example: If WebViewer version 5.2.8 was used:
WebViewer({
path: '5.2.8/lib'
})
Example: If upgrading to WebViewer 6.0 then follow similiar instructions to above:
WebViewer({
path: '6.0/lib'
})
Optional Step:
Modify the main html page of the app such that it won't have the caching headers from the server set for too long.
When the version is updated, the HTML page will be updated to point to a new WebViewer path which isn't cached by the users.
Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales