Performance·Intermediate·Coding·1 min read
Can code splitting help Time to Interactive even if total bytes downloaded across a full session stay the same?
Short interview answer
Yes — moving code out of the initial chunk means less JavaScript needs to be downloaded and parsed before the page becomes interactive, even if a user who eventually visits every feature downloads a similar total over time.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.