prismarine-web-client
prismarine-web-client copied to clipboard
Blank page
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
This seems like a caching issue, try https://prismarinejs.github.io/prismarine-web-client/index.html
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.
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.
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
Sure we can definitely do that, I don't think it's particularly useful for prismarimejs.github.io to have a service worker
On Sun, Mar 3, 2024, 2:34 AM extremeheat @.***> wrote:
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 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 https://github.com/rom1504
— Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/prismarine-web-client/issues/366#issuecomment-1974970566, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437XJA3U3JN6SOXF6ULTYWJ4YXAVCNFSM6AAAAABEDBHESOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZUHE3TANJWGY . You are receiving this because you were mentioned.Message ID: @.***>
Still happens
Will be fixed by https://github.com/PrismarineJS/prismarinejs.github.io/pull/79