Don't forget about HTTP/2! If your server platform supports it, the number of HTTP requests becomes less relevant. With CDNs and proxies, I have been bitten before by not reading the documentation or thoroughly understanding the platform I was using...the CDN and the web server had some opposing configuration settings which resulted in either a lot of wasted CPU cycles (CDN not supporting caching of resources encrypted by anything but gzip) or safe but effectively useless HTTP cache policies.
I have also learned to give extra scrutiny to third-party marketing/analytics scripts. I have seen plenty of scripts that refuse to be cached and insist on downloading several other scripts. In general, most of the organizations I have worked with are underutilizing their current analytics capabilities...throwing more analytics scripts on the page to generate more data that no one will ever read never helps.
Thanks for adding this point. I totally agree with you.
Nice guide here! If anyone is curious, I wrote up a tutorial on dev.to covering some tools to help with the link prefetching you mentioned dev.to/remotesynth/promoting-perce...
Thanks Brian. I read your post and it's nicely written. I found instant.page a few months back and I'm currently using it on my blog!
Very good article!
Nice roundup of concepts and tools. Thanks!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.