GithubHelp home page GithubHelp logo

Comments (10)

benlesh avatar benlesh commented on June 16, 2024 1

I suspect this is something to do with the service worker going bad. You'll need to open up dev tools to uninstall the service worker.

I don't use Safari, so I've used ChatGPT to generate instructions on how to uninstall the service worker:

Uninstall Service Worker for rxjs.dev in Safari on macOS

Step 1: Access Preferences

  • Open Safari Preferences either through the Safari menu (Safari > Preferences) or using the shortcut Command + ,.

Step 2: Enable Developer Menu

  • Navigate to the Advanced tab in the Preferences window.
  • Check the option at the bottom to Show Develop menu in menu bar.

Step 3: Manage Service Workers

  • With the Develop menu now visible, navigate to rxjs.dev in Safari.
  • Click on the Develop menu in the menu bar, hover over the website you're inspecting to find options related to service workers.
    • If available, look for options like Empty Caches or specific service worker management options under this menu.
    • For direct service worker management, select Service Workers from the Develop menu if the option is available, to see and potentially unregister service workers.

Step 4: Clear Website Data

  • If direct management of service workers isn't visible, you can clear website data for rxjs.dev as a workaround:
    • Go to Safari Preferences > Privacy, then select Manage Website Data.
    • Search for rxjs.dev, select it, and click Remove to clear data, which includes cached data and potentially unregistering service workers.

Step 5: Restart Safari

  • Quit and restart Safari to ensure all changes take effect.

from rxjs.

jakovljevic-mladen avatar jakovljevic-mladen commented on June 16, 2024

Hi @ebeloded, I don't really know how to reproduce this issue on my machine. Any chance to help me with providing some more details?

BTW, even though it seems like that https://rxjs.dev/index.html works correctly, you should probably be accessing RxJS docs site by using https://rxjs.dev/ domain.

from rxjs.

ebeloded avatar ebeloded commented on June 16, 2024

Hey. Thanks for getting back to me. Not that I'm not accessing "index.html" - it's what the service worker is requesting.

As for reproduction (in Chrome):

  1. Open Guest profile (which works more like a normal profile when it comes to SW)
  2. Open rxjs.dev
  3. Reload the page

Here's a video of me doing just that:

2023-12-21.at.13.52.44.mp4

from rxjs.

jakovljevic-mladen avatar jakovljevic-mladen commented on June 16, 2024

I'm sorry, but this is what I get:

Screen.Recording.2023-12-22.at.09.54.52.mov

Is it possible that some Chrome plug-in is causing this behaviour? Or some OS settings that you have since it affects other browsers?

from rxjs.

benlesh avatar benlesh commented on June 16, 2024

On Chrome, it's as simple as going to the Application tab in dev tools and clearing local data. Just make sure you have "uninstall service worker" checked.

from rxjs.

jakovljevic-mladen avatar jakovljevic-mladen commented on June 16, 2024

I completely forgot about the service worker 🙈 The image also shows that an error happens in ngsw-worker.js file suggesting that worker may be causing the issue...

@ebeloded, can you please try Ben's suggestion and let us know?

from rxjs.

ofek avatar ofek commented on June 16, 2024

The website is also down for me

from rxjs.

jakovljevic-mladen avatar jakovljevic-mladen commented on June 16, 2024

@ofek, have you tried Ben's suggestion?

from rxjs.

ebeloded avatar ebeloded commented on June 16, 2024

I no longer experience the issue originally described. Not quite sure what changed though ¯_(ツ)_/¯

from rxjs.

jakovljevic-mladen avatar jakovljevic-mladen commented on June 16, 2024

@ebeloded, thanks for letting us know. I will close this ticket in that case.

@ofek, if your issue persists, please open a new ticket.

from rxjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.