Remove Unused CSS and JavaScript

How to optimize ayrshare.com

WordPress SiteScore: 42/100Analyzed December 2025

Remove Unused CSS and JavaScript

High Impact+15 points estimated

Why It Matters

99% of FontAwesome CSS (32KB) and multiple JavaScript files are unused, blocking render for 450ms.

How to Fix

Use Asset CleanUp Pro to disable FontAwesome on pages that don't need icons. Remove unused Contact Form 7 and block library CSS through WordPress admin. Implement critical CSS extraction using WP Rocket's critical CSS feature to inline above-the-fold styles.

0Poor

What This Score Means

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

8.4s
Poor

Good: < 2.5s

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

INP

Interaction to Next Paint

192ms
Good

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 42/100, indicating significant issues that are hurting user experience. The biggest problem is extremely slow loading times - your Largest Contentful Paint takes 8.4 seconds and First Contentful Paint takes 7.4 seconds, which are far beyond acceptable thresholds. The primary culprits are oversized images that waste 149KB of bandwidth (especially a YouTube thumbnail that's much larger than needed), excessive unused CSS from FontAwesome and WordPress blocks that accounts for 47KB of wasted data, and render-blocking JavaScript that delays page painting by nearly 7 seconds. Additionally, your site is loading multiple copies of the same reCAPTCHA script, which wastes over 800KB of JavaScript. Fixing these image sizing issues, removing unused CSS, and optimizing JavaScript loading could dramatically improve your performance score by 30+ points and make your site load in under 3 seconds instead of the current 8+ seconds.

Other Optimization Recommendations

Optimize Critical Image Delivery

High Impact+12 points estimated

Why It Matters:

Large, unoptimized images are delaying LCP by 300ms and wasting 149KB of bandwidth.

How to Fix:

Install ShortPixel or Imagify to convert images to WebP format (37KB savings on hero image alone). Resize the YouTube thumbnail from 1280x720 to its displayed 651x366 dimensions. Add responsive image srcsets to serve appropriately sized images for different screen sizes.

Defer Non-Critical JavaScript Loading

Medium Impact+8 points estimated

Why It Matters:

JavaScript execution takes 1.9 seconds and creates 680ms of main thread blocking time.

How to Fix:

Use WP Rocket to defer JavaScript execution until user interaction. Move Google reCAPTCHA loading to only contact pages. Implement async loading for YouTube embed scripts and popup functionality using the async or defer attributes.

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