Closed ilblackdragon closed 3 years ago
700k of JS is not a lot these days, e.g. Twitter loads more than 1 MB of JS.
Currently on almost every load of the page
this isn't the case for me in either Safari or Chrome. It has etag so any browser properly supporting HTTP shouldn't be re-downloading whole file unless it is updated
maybe it is somehow messed with by firewall though? (not clear how without removing HTTPS)
are you sure it happens outside of incognito (which has to reload everything as otherwise you are identifiable)?
I will embed this one in #1101 , even if not strictly connected I believe that having a smaller payload is better than just pumping everything through CDNs cc @MaximusHaximus
The JS files are not re-downloaded in my test.
The 800+ KB JS file is fast to load in my environment, but still takes 20~40 seconds for some users.
Currently on almost every load of the page, 700kb+ of JS gets redownloaded. On not very fast internet Wallet can take up to 15s to load (google.com loads in 4s), reloading another ~5-10s
From China it's even worse:
Steps to reproduce