hoppscotch
hoppscotch copied to clipboard
[bug]: PWA Cache
Is there an existing issue for this?
- [X] I have searched the existing issues
Current behavior
First of all, I appreciate the developer's work, the website features are updated very fast. However, the page does not display properly after each update, I need to manually clear the browser cache and then refresh the page (every time I lose the configuration and history data :( I took a brief look and found that some js files were not cached:
Steps to reproduce
- Waiting for update
- Open website
Environment
Production
Version
Cloud
@Tarrowren thank you for your kind words 😊
But, I am a bit confused, I am not able to reproduce this and moreover, during an update of course a lot of the JS files will be invalidated, but the browser should be cleanly able to fetch in the new version and load it in. Are you offline or have some difficulties like that ?
Which browser are you using specifically ? Do you have any security features enabled which maybe of concern ?
using online, chrome browser, and have hardly changed any security configuration
Does the cache require workbox.js to work properly? I currently can't access cdn.jsdelivr.net
@Tarrowren Yes, we use workbox for it and that needs to be accessible, I will keep the issue open for potential solutions and ways to get around that.