I got a message from Graham Pugh from the Mac Admins' Slack that my blog was
lagging. This was a bit surprising because it is served from Gitlab Pages, which
should have all the resources in the world. So i looked under the hood. And i
I am not a developer but i opened up the Developer Tools on Chrome (and so can
Developer toools) and opened up the
tab. Then i navigated to my Almost famous post. And i
raised an eyebrow. Loading a page from my blog requires 48 requests or 1.5 MB
of data. Most of them are to resources i don’t really recognise;
lounge.bundle.59fbd11ef... and so forth. Is it
my theme that is requesting all this? Is it something else on the page? Is my
page -gasp!- spreading spyware?
The developer tools also allow me to look into these resources, many of which
unexpected resources included with my page. The finger pointed at Disqus, the
commenting plugin i’d been using on my blog ever since moving to Hugo (which is
a static blog engine and does not support commenting).
I removed Disqus from my blog config and sent it to Gitlab. A minute later:
The load time has halved. The amount of data is 44% of what it used to be. The
requests are down from 48 to a nice 6. And there is probably way less spyware
on my page now.
Thank you Graham, and you’re welcome everyone!