We need to talk about Redux and "SSR". Just saw second (large, commercial) site sending > 100/500K (zipped/unzipped) of HTML payload *this week*. When it takes 3-5x the size of a PNG screenshot of your AFT content to "inline" your "critical" HTML/JS/CSS, something's broken.
-
-
FWIW, I too think the cost of React/Redux SSR is an under-addressed issue. Would love any leads on how to fix this the right way.
-
A quick fix would be to put a Proxy in front of server-side Redux store and only serialize what actually got used to generate markup. But I question the need for nearly any/all of this cruft. Why are we doubling up this payload? Nearly all this data is already in the DOM.
- 5 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.