Remove Unused JavaScript from YouTube

How to optimize hthf.org

WordPress SiteScore: 10/100Analyzed March 2026Re-analyze this site

Remove Unused JavaScript from YouTube

High Impact+25 points estimated

Why It Matters

Unused JavaScript wastes 1.9MB and delays LCP by 4.8 seconds, severely impacting page performance.

How to Fix

Replace YouTube embeds with lite-youtube-embed plugin or wp-youtube-lyte. Use facade loading to show thumbnail until user clicks. Alternatively, load YouTube videos only when they scroll into view using intersection observer.

0Poor

What This Score Means

A score of 10 falls in the "Poor" range (50-89). While it is better than poor (0-49), you should aim for 90+ to provide an optimal user experience and maximize SEO benefits.

This site is slower than approximately 35% of similar sites. The main issues affecting performance are image optimization, JavaScript execution time, and layout stability.

Addressing these issues could improve your conversion rate by 15-20% and boost your search engine rankings.

Core Web Vitals Analysis

LCP

Largest Contentful Paint

14.3s
Poor

Good: < 2.5s

Measures how long it takes for the main content to appear on screen

INP

Interaction to Next Paint

488ms
Needs Improvement

Good: < 200ms

Measures how quickly the page responds to user interactions

CLS

Cumulative Layout Shift

0.71
Poor

Good: < 0.1

Measures visual stability - how much content shifts during page load

AI Performance Analysis

This WordPress site has extremely poor performance with a score of only 10/100, indicating severe user experience issues. The biggest problem is massive unused JavaScript from YouTube embeds (1,909 KiB wasted), which is delaying your Largest Contentful Paint to a catastrophic 14.3 seconds - nearly 10 seconds slower than Google's recommended threshold. Additionally, the site suffers from render-blocking CSS resources, unoptimized PNG images that could be converted to WebP format, and significant layout shifts caused by video elements loading. Removing or deferring unused YouTube scripts, optimizing images, and fixing the video loading issues could potentially improve your performance score by 60+ points and dramatically reduce load times from 14+ seconds to under 4 seconds.

Other Optimization Recommendations

Fix Video Layout Shift Issues

High Impact+20 points estimated

Why It Matters:

Video element causes 0.712 CLS score by shifting content during load, creating jarring user experience.

How to Fix:

Add explicit dimensions to video container with aspect-ratio CSS property. Reserve space for video player using min-height before MediaElement.js loads. Use CSS transform instead of changing element dimensions during video initialization.

Optimize Images to WebP Format

High Impact+15 points estimated

Why It Matters:

Large PNG images waste 2.2MB bandwidth and slow LCP by 2.7 seconds on mobile connections.

How to Fix:

Install ShortPixel or Imagify WordPress plugin to auto-convert images to WebP. Manually convert the 1.3MB Mike-Moore-Veterans-Park.png to WebP format. Enable responsive images with proper srcset attributes for different screen sizes.

Keep Your Site Fast After Optimization

Once your site is optimized, maintain that speed. Use DeployHQ for zero-downtime, automated deployments—so performance fixes and updates go live safely every time, without breaking your site.

Explore DeployHQ →Trusted by engineering teams shipping high-performance sites

Want to Analyze YOUR Website?

Get AI-powered performance insights with actionable fixes in 30 seconds

More WordPress Speed Tests

WordPress Performance Resources

Frequently Asked Questions