Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Please avoid using Service Worker #167

Closed
stkevintan opened this issue Dec 14, 2023 · 2 comments
Closed

[BUG] Please avoid using Service Worker #167

stkevintan opened this issue Dec 14, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@stkevintan
Copy link
Contributor

stkevintan commented Dec 14, 2023

Describe the bug

description of what the bug is, and the conditions when it occurs.

How to reproduce

Steps to reproduce the behavior:

Service worker will hugely prevent us switching webui.
As a web developer, Fortunately, I know the concept and I can disable it by myself.

but how about non-developers ? or the mobile system?

As I experenced, I cannot get rid of the stale serviceworker cache in my ios browser, even I clean up all the browser history and cache

Even though I am a web developer, It still takes me nearly one day to find out why the webui doesn't change when I disable or switch the alternative webui

I feel excited with the project but feel frustrated about the service worker, I believe many people faced the same issue but they cannot find the root cause, even after totally reinstall the qbittorrent at the cost of all the data lost

Expected behavior

webui is just a small, simple , static site, it is totally enough to rely on the browser to cache resources.
Please consider to remove the ServiceWorker or make can be self unregistered somehow.

Thanks!

description of what you expected to happen.

Official behavior

description of what happened in the official web ui.

Versions

  • qBittorrent: [e.g. 4.2.5]
  • qb-web: [e.g. 20201023]

Additional notes

Add any other notes about the problem here.

@stkevintan stkevintan added the bug Something isn't working label Dec 14, 2023
@stkevintan
Copy link
Contributor Author

stkevintan commented Dec 14, 2023

Why someone never encounter such issue ?

I guess they may host their qbittorrent webui in localhost. so the serviceworker won't take effect.
It is often the case we develop the app in local, so the developer also might not be aware of it.

@CzBiX
Copy link
Owner

CzBiX commented Jan 29, 2024

Fixed in #168, thanks.

@CzBiX CzBiX closed this as completed Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants