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

Blank page #366

Open
zax71 opened this issue Mar 2, 2024 · 7 comments
Open

Blank page #366

zax71 opened this issue Mar 2, 2024 · 7 comments

Comments

@zax71
Copy link

zax71 commented Mar 2, 2024

The website hosted at https://prismarinejs.github.io/prismarine-web-client/ is just a blank page for me. I have disabled all ad blockers and the like to no avail. I have tried in Firefox and Chrome, each would load it once fine but upon reload be a white page for forever more

@extremeheat
Copy link
Member

This seems like a caching issue, try https://prismarinejs.github.io/prismarine-web-client/index.html

@x4fx77x4f
Copy link

I experience this as well on Firefox. Using a private window, disabling service workers by setting dom.serviceWorkers.enabled to false, or using the alternate link in the previous post causes the issue to not occur.

@extremeheat
Copy link
Member

Again, it's probably due to a client-side caching issue. I could reproduce this issue sometimes myself until I erased my browser cache. A easy test would be to disconnect your computer from the internet and check if https://prismarinejs.github.io/ vs https://prismarinejs.github.io/404 still loads anyway.

@extremeheat
Copy link
Member

Oddly, it seems the problem is that all the pages at https://prismarinejs.github.io/* would be directed to the website at PrismarineJS/prismarinejs.github.io versus PrismarineJS/prismarine-web-client (as evidenced by <meta property="og:description" content="A Minecraft server, bot, and API all written in JavaScript"> in the returned HTML).

But anyway I just did a push to prismarinejs.github.io to invalidate any server side cache if it could be related.

From what it seems the root cause might have been that the website prismarinejs.github.io was being cached in the browser as a PWA, which takes over the whole domain. That would explain why the website loads anyway even with no network. I don't have this anymore after erasing my cache but if it becomes a problem in the future maybe we could delete the manifest.json in prismarinejs.github.io @rom1504

@rom1504
Copy link
Member

rom1504 commented Mar 3, 2024 via email

@namtacs
Copy link

namtacs commented Jun 10, 2024

Still happens

@extremeheat
Copy link
Member

Will be fixed by PrismarineJS/prismarinejs.github.io#79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants