Jump to content

JavaScript slows down the site although I have no such custom code there?

Recommended Posts

Site URL: https://voaki.com

I just started using my website, and the loading speed of it is not good - according to GTmetrix the site has a bad JavaScript slowing down problem. I don't understand why. I used to have a countdown counter on the site, but I even removed that and it didn't have any effect. Now I don't have any custom Javascript there (or not sure if Google Analytics, Facebook pixel or the CrazyEgg heat maps are in Javascript?

Could someone help me interpret this instruction on Javascript slowing down the site from GTmetrix: https://gtmetrix.com/defer-loading-of-javascript.html? Is there anything I could do or is it all some problem in the built in Squarespace code that cannot be fixed?

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

JavaScript is essential to the Squarespace 7.0 platform, and you cannot defer it. See my post here:

 

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.