|
|
|
|
|
by tipiirai
1019 days ago
|
|
> something we're working on improving every day! Great to hear that! There is hope to frontend obesity crisis. What actions have you done to slip down the login page to 6MB? How large was it in the beginning? What is the bulk of that file? I mean React framework would span only 0.1% of that room. |
|
We’re working on getting this down significantly but, that being said, the login page isn’t our highest priority. It’s the first thing customers see, but >99% of the time, they’ll already be logged in and navigate straight to the apps page, or a specific Retool app. For these pages, we’ve:
1. re-written our core runtime to avoid excessive message passing with iframes (up to 75% faster page load for slowest apps)
2. parallelized resource fetching with JS execution
3. cached app graph information in IndexedDB
4. tweaked webpack chunking strategy to avoid very small JS/CSS chunks
5. optimized resource fetching to avoid over fetching
Hope that’s helpful context. Definitely let me know if you have thoughts/other ideas