"Hey server, send me the page at /index.html"
"Sure, here it is"
"Hey server, send me the page at /index.html"
"Sure, here it is"
"O HAI! Can you also download style.css, script.js, font.woff and a bunch of images, please?"
"....server?"
Source: https://www.soasta.com/blog/page-bloat-average-web-page-2-mb/
"Hey server, send me the Gmail application"
"Sure, here it is"
"O HAI! You need to download a lot of javascript code, some css and some images"
<does a lot of complex things, perhaps involving server requests>
"Hey server, send me the Gmail application"
"Sure, here it is. By the way, you're also going to need style.css and script.js"
Source: https://www.smashingmagazine.com/2015/08/understanding-critical-css/
window.performance.mark('DFP_BEGIN')
Source: https://developers.google.com/web/fundamentals/performance/prpl-pattern/