Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 1.23 KB

initial_observations.md

File metadata and controls

16 lines (11 loc) · 1.23 KB

Initial observations

🗓️ last updated 12/10/22

Lighthouse: MPA vs. MPA with Stream Stitching

In the early prototype consisting of just two simple pages, performance is stellar for both versions. Still, utilizing a Service Worker with stream stitching reduces both First and Largest Contentful Paint by up to 1s. However, the implementation complexity for the architecture with Stream Stitching is already a lot higher than for the one without it, with many edge cases to handle. Whether the complexity peaks at some point or keeps increasing as the app grows is a crucial aspect of the architecture comparison.

Another interesting observation is that stream stitching caused a higher Total Blocking Time. It's still low in this test, but looking at other test runs under different conditions, it seems to increase with network delays and server response times, while it doesn't for the plain MPA. This requires further investigation.