Email or username:

Password:

Forgot your password?
Top-level
Nolan Lawson

@nikitonsky Great post! Unfortunately though I think "disable cache" may be over-reporting. For react.dev for example, it looks like it is continually re-downloading the same resources as you scroll.

My workaround is usually to use a fresh private window rather than "disable cache," FWIW.

2 comments
Nikita Karamov

@nolan a valid argument for some sites, but for react.dev? It's a blog post with static information, why does it even try loading a script in the first place, and why does it do it over and over again? Yeah, it's not what a typical user would experience, but it's still crazy dumb behaviour :D

@nikitonsky

Ben

@kytta @nolan @nikitonsky because most of their pages have inline code editors where you can write code and see the output in action. A lot of their pages have multiple embedded editors. Having caching enabled would prevent that from being an issue.

I’m not excusing the total JS size, but calling it just static code is a bit disingenuous.

Go Up