Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Minify Code (HTML, CSS, JS) for better page load time


ridhasekhri

Question

Site URL: https://www.TwelveAndTwentyEight.com

Hello All - Our Digital Marketing Team told us that our home page size is approx 7 MB which is not good for SEO and needs to be reduced if possible. Below is the breakup of elements contributing to that size from a Chrome Extension called Page Inspector. As you can see JS, CSS is contributing approzx 4 MB to the page size. Is there a way to reduce it by some squarespace settings? Isn't Squarespace optimizing code JS, HTML, CSS on it's own- same way it optimizes image sizes? As per https://www.directom.com/minify-javascript-css-warnings/ Squarespace doesn't optimize code but I am posting here to confirm/check with you all. As a Backup option, I have connected my site to CloudFlare (10 minutes ago) with a hope that it may help in the desired outcome. 

 

0?ui=2&ik=e242dc32a9&attid=0.1&permmsgid=msg-f:1679005048629249487&th=174d06322ba245cf&view=fimg&sz=s0-l75-ft&attbid=ANGjdJ_bX6da3jqHI1lhQo7WSsKSy5JM7PzXlxs4exPo_f-mEYWHIhlR75n4suUwKFWzU0P5BMPhnJEuvTb4Sn2zxR968qicf0SPpuIDajmVjuRcZfBYyFhPjOeDjGs&disp=emb

Co-founder, Twelve and Twenty Eight

Boutique Branding + Graphic Design Studio

www.twelveandtwentyeight.com

Link to comment

4 answers to this question

Recommended Posts

  • 0
15 hours ago, ridhasekhri said:

@tuanphan Thanks for your inputs! I have connected our site to CloudFlare but was wondering why isn't Squarespace minifying code - like it does images I think.

Minify code often causes many unwanted problems. It is very easy to damage the CSS resulting in a broken template.

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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...