codeburst

Bursts of code to power through your day. Web Development articles, tutorials, and news.

Follow publication

How I Reduced Load Time by 25% on Squarespace and Why I Couldn’t Get More

Jared Nutt
codeburst
Published in
4 min readDec 12, 2019

Front Matter

Recently, I got a job that required me to debug a Squarespace site to see why it was loading so slow. I figured I’d share what I did to increase the load speed.

Tools

I used Google’s built-in tool “Lighthouse”. If you don’t know where that is, you can find it in the Dev Tools under “Audit”.

Disclaimer: All load times are evaluated against a simulated Slow 4G connection.

Why Load Time is a Problem

While you are running the audit, Google will give you a bunch of reasons to keep your site loading quickly. Essentially, the longer it takes, the less likely people are going to stay on your site. Additionally, Google is possibly planning to add a “slow badge” to sites that load slowly. That is really bad for user retention. Check out the article for that here. If you want an even more in-depth article, check this out.

The First Run

If you take a look at the readout below, you can see that the site is loading incredibly slowly (again, this is against a slow 4G).

The Issues and Fixes

The Audit will give you a list of common problems and fixes. Here’s what I got.

Render Blocking scripts

Problem

When a page is being loaded, the browser loads things from top to bottom in the HTML file. That means any items in the <head> tag will load before the content in the <body> is even painted on the screen. In this case, there were 3 Mbs of scripts being loaded; both Javascript and CSS.

Fix

I removed all the render-blocking scrips that I could. This included jQuery and power.io.

A Note about Squarespace

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Published in codeburst

Bursts of code to power through your day. Web Development articles, tutorials, and news.

Written by Jared Nutt

Freelance web developer living in Los Angeles. I write articles I wish I had when I was learning — mostly about Javascript and web development.

No responses yet

Write a response