Remove Unused JavaScript Code

How to optimize dogonline.co.za

WordPress SiteScore: 45/100Analyzed June 2026Re-analyze this site

Remove Unused JavaScript Code

High Impact+25 points estimated

Why It Matters

934 KiB of unused JavaScript is blocking page rendering and delaying LCP by 3.9 seconds.

How to Fix

Remove or defer the YouTube embed scripts that consume 318KB unused. Audit WooCommerce components.min.js (196KB unused) and remove unnecessary features. Use Asset CleanUp Pro to selectively disable scripts on product pages where not needed.

0Poor

What This Score Means

A score of 45 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

16.7s
Poor

Good: < 2.5s

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

INP

Interaction to Next Paint

217ms
Needs Improvement

Good: < 200ms

Measures how quickly the page responds to user interactions

CLS

Cumulative Layout Shift

0.00
Good

Good: < 0.1

Measures visual stability - how much content shifts during page load

AI Performance Analysis

This WordPress site has severe performance issues with a score of 45/100, indicating poor user experience. The biggest problem is excessive unused JavaScript that's wasting 934 KiB and delaying page loading by nearly 4 seconds, particularly from YouTube embeds and WordPress components that aren't being fully utilized. The site also suffers from forced reflows causing layout instability, inefficient caching leading to repeated downloads of large images, and render-blocking resources that prevent content from displaying quickly. Removing or deferring unused JavaScript, optimizing image delivery, and implementing proper browser caching could dramatically improve the site's performance and Core Web Vitals scores.

Other Optimization Recommendations

Fix Forced Reflow Issues

High Impact+18 points estimated

Why It Matters:

JavaScript is causing 314ms of forced layout recalculations, blocking the main thread and hurting user interaction.

How to Fix:

Update commercegurus-attribute-swatches.js to batch DOM reads/writes instead of triggering reflows. Replace jQuery geometric property queries with CSS transforms where possible. Cache element dimensions to avoid repeated offsetWidth calls.

Optimize Image Delivery

Medium Impact+12 points estimated

Why It Matters:

Customer review images are oversized by 809 KiB and not properly compressed, slowing LCP by 300ms.

How to Fix:

Install ShortPixel to automatically compress and resize customer uploaded images. Configure responsive image sizes in WooCommerce customer reviews settings. Add explicit width/height attributes to prevent layout shifts during image loading.

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