[GH-ISSUE #2369] [bug]: PWA Cache #810

Closed
opened 2026-03-16 17:16:20 +03:00 by kerem · 3 comments
Owner

Originally created by @Tarrowren on GitHub (May 27, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2369

Is there an existing issue for this?

  • 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:

image

Steps to reproduce

  1. Waiting for update
  2. Open website

Environment

Production

Version

Cloud

Originally created by @Tarrowren on GitHub (May 27, 2022). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2369 ### 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: ![image](https://user-images.githubusercontent.com/35626141/170623915-e6bb783e-f285-4c4f-ab51-2b763bfaeb03.png) ### Steps to reproduce 1. Waiting for update 2. Open website ### Environment Production ### Version Cloud
kerem 2026-03-16 17:16:20 +03:00
Author
Owner

@AndrewBastin commented on GitHub (May 27, 2022):

@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 ?

<!-- gh-comment-id:1139440978 --> @AndrewBastin commented on GitHub (May 27, 2022): @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 ?
Author
Owner

@Tarrowren commented on GitHub (May 27, 2022):

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

<!-- gh-comment-id:1139528306 --> @Tarrowren commented on GitHub (May 27, 2022): 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
Author
Owner

@AndrewBastin commented on GitHub (May 31, 2022):

@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.

<!-- gh-comment-id:1142050393 --> @AndrewBastin commented on GitHub (May 31, 2022): @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#810
No description provided.