- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
How to remove unused JavaScript?
When I have my website analysed by Google Page Speed Insights, I get the "Delete unused JavaScript" error.
Screenshot: https://ibb.co/h7PyMM5
How do I delete the unused JavaScript?
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
@Thaniom As an illustration you can study this that refers to Wordpress - https://metabox.io/remove-css-javascript-files-wordpress/
What is your initial load time at the moment?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
@NJRFTF Thank you for the link. The initial load time is 0.9 seconds.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
So I found the unused JavaScript and googled it. Turns out it's a major problem that can not be removed.
Sad to see that this still has not been fixed.
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Red is unused script. This could save me several seconds on my page.
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Any luck with this? I have the same problem, like a dozen examples of unused scripts that Google is suggesting I remove to improve my page load speed.
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
These are built into the CMS, so there isn't really a way to move or remove those, @EricW. Some are also necessary for the function of the site. That said, I'm hoping that we'll see some changes to this in the future.
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Weebly should take this issue more seriously. If not you are going to see many customers leave Weebly for not taking the time and effort to resolve this. This issue has been brought up to Weebly since 2016!!! People will eventually have enough of the "we hope to have a fix" responses with Zero actions and leave your company.
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
@Thaniom I can help reducing the unused JS / CSS, and optimize website speed in other parameters.
I still can't get rid of the unused code completely, because as mentioned here some files are critical to the website's finctions, but I can optimize the loading speed to a level that allows a very fast website.
The speed optimization process improves various factors, including Web Vitals (the new metrics from Google related to Page Experience: mainly LCP & CLS), font loading, image optimization, preloading, lazy loading etc.
Attached screenshots of my current Weebly website speed (desktop / mobile):
More info about website speed optimization
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
@Adam This is a catastrophy. It has to be of higher priority. ALL Weebly users are being punished by Google because of this. What can we do about it?
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Is this a pitch? or were you sharing how we can do this?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Of all the bugs and flaws with Weebly, the weight of these editmysite .js files is the one that irks me the most. I hope it's resolved soon. It's getting to the point where I'll be moving all my Weebly sites to another platform.
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
I echo the need for this to be a priority with Weebly.
We're a nonprofit being denied access to Google Ads because I'm unable to reduce unused JavaScript that would increase page speed. Why? Because I use Weebly.
Starting my research for other options.
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
https://mastermarinesurveyor.net/index.html
Hey, bud check my site on desktop and phone and see how mine does. I am at 2.7s on desk and 7.0 on a cell phone. See what you think. Also on the phone, you can see an extra" marine surveyor" at the top of the page that should not be there and don't know how to remove it? Thanks. Cary.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
sorry wrong post
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
That's incredible! I can't get above a 2 🥴
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report