Remove Unused CSS Rules

How to optimize medium.com

Generic SiteScore: 50/100Analyzed March 2026Re-analyze this site

Remove Unused CSS Rules

Medium Impact+8 points estimated

Why It Matters

40 KiB of unused CSS is adding 300ms to both FCP and LCP load times.

How to Fix

Remove the unused reCAPTCHA CSS file that is 95% unused (40 KiB wasted). Use CSS purging tools like PurgeCSS to eliminate unused styles. Load reCAPTCHA styles only when the component is actually needed on the page.

0Needs Improvement

What This Score Means

A score of 50 falls in the "Needs Improvement" 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

9.9s
Poor

Good: < 2.5s

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

INP

Interaction to Next Paint

243ms
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 website has poor performance with a score of 50/100, indicating significant user experience issues. The biggest problem is excessive unused JavaScript (686 KB of wasted code) that's causing painfully slow load times - it takes 9.5 seconds for users to see the first content and nearly 12 seconds for the page to become interactive. The site is also loading a massive amount of unused CSS from Google's reCAPTCHA service and spending too much time executing JavaScript code. Removing unused code and optimizing JavaScript delivery could dramatically improve load times and potentially boost the performance score by 30+ points.

Other Optimization Recommendations

Remove Unused JavaScript Code

High Impact+25 points estimated

Why It Matters:

686 KiB of unused JavaScript is delaying FCP by 5.2 seconds and LCP by 5.0 seconds.

How to Fix:

Audit and remove unnecessary reCAPTCHA implementation if not essential for the current page. Code-split the main JavaScript bundle to load only required modules initially. Use dynamic imports for features that aren't needed immediately on page load.

Optimize JavaScript Execution Performance

High Impact+15 points estimated

Why It Matters:

2.5 seconds of JavaScript execution time is blocking the main thread and delaying interactivity.

How to Fix:

Defer non-critical JavaScript execution using async/defer attributes. Break up long-running tasks into smaller chunks using setTimeout or requestIdleCallback. Consider lazy loading the reCAPTCHA script only when user interaction requires it.

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 Generic Speed Tests

Generic Performance Resources

Frequently Asked Questions