Skip to main content

Missing css/js on older tabs

Getting a bunch of 404s on js/css when going back to a tab after a reboot or just a long enough time. The browser seems to unload some resources (the entire page?) and request them again? End result is mostly missing styles: giant pictues and some UI elements clearly meant to be aligned and scaled with styles which are now missing (you know what that looks like, right?).

It seems like some of your assets with hashed names are removed too soon and/or the loader is not trying to fetch new versions. The 404s I saw were in the google chrome developer tools’ console. I’m sorry I can’t provde a screenshot now, too dumb of me 😔 Anyway, because those were in the console (which chrome doesn’t do usually, it would only show loading issues like 404s in the network tab), I belive there is some js code at play, it tries to load these assets and fails.

Manually reloading the page fixes the issue of course, and I love how reliable the URL is, my chats are intact after a browser restart!

Status: Closed4 comments

Log in to comment and vote

Comments4

  • Mark Florkowski

    Team

    how old is an older tab? We only keep assets for old versions for ~5 days iirc, so it is expected that anything older might break like this.

    • Jade Clay

      yeah, sometimes I return to one weeks later

      • Mark Florkowski

        Team

        They should be automatically refreshing now if they are too old, but we did add that feature somewhat recently, so it is possible that your tabs did not have that update even.

        • Jade Clay

          Opened an old tab today again, it looked good just as I remembered it