Remove Unused JavaScript Code

How to optimize orca.ai.io

WordPress SiteScore: 45/100Analyzed February 2026

Remove Unused JavaScript Code

High Impact+25 points estimated

Why It Matters

506 KiB of unused JavaScript delays LCP by 1.65 seconds and blocks user interactions.

How to Fix

Audit WordPress plugins and remove unnecessary ones like unused Lottie animations. Use WP Rocket's 'Remove Unused CSS/JS' feature or Asset CleanUp plugin to defer HubSpot forms and Google Tag Manager until user interaction. Split critical and non-critical JavaScript bundles.

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

14.4s
Poor

Good: < 2.5s

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

INP

Interaction to Next Paint

520ms
Poor

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 poor performance with a score of 45/100, indicating significant issues that hurt user experience. The biggest problem is an extremely slow Largest Contentful Paint of 14.4 seconds, caused primarily by excessive unused JavaScript (506 KiB) from third-party scripts like HubSpot forms and analytics that could save 1.65 seconds if optimized. The site is also wasting 325 KiB on inefficient caching and forcing unnecessary browser reflows that add another 520ms of delay. Removing unused JavaScript, implementing proper caching headers, and minifying the remaining scripts could potentially improve the performance score by 30+ points and dramatically reduce load times for visitors.

Other Optimization Recommendations

Optimize JavaScript Bundle Delivery

High Impact+18 points estimated

Why It Matters:

3.5 seconds of JavaScript execution time creates 1000ms of Total Blocking Time, preventing user interactions.

How to Fix:

Minify the custom theme JavaScript files (os-anims-new.js saves 51KB). Use WordPress plugins like Autoptimize or WP Rocket to enable script minification and compression. Break large scripts into smaller chunks and load them progressively.

Implement Efficient Browser Caching

Medium Impact+12 points estimated

Why It Matters:

Poor cache lifetimes waste 325 KiB on repeat visits and delay LCP by 1.55 seconds.

How to Fix:

Configure WordPress caching plugin like W3 Total Cache or WP Fastest Cache to set longer cache headers for static assets. Set HubSpot scripts to cache for at least 1 week instead of 5 minutes. Add cache-control headers via .htaccess for fonts and images.

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

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