Eliminate Unused JavaScript Code

How to optimize perplexity.ai

Generic SiteScore: 42/100Analyzed May 2026Re-analyze this site

Eliminate Unused JavaScript Code

High Impact+25 points estimated

Why It Matters

382 KiB of unused JavaScript delays LCP by 2.1 seconds and blocks user interactions.

How to Fix

Analyze your JavaScript bundles to identify unused code in layout-sidebar, lexical, and ask-input modules. Implement code splitting to load only necessary JavaScript for each route. Use dynamic imports for features that aren't immediately needed on page load.

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

13.0s
Poor

Good: < 2.5s

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

INP

Interaction to Next Paint

367ms
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 serious performance problems with a score of just 42/100, indicating poor user experience. The biggest issue is an extremely slow Largest Contentful Paint of 13 seconds, caused primarily by excessive JavaScript that takes nearly 3 seconds to process and blocks the page from loading quickly. The site is loading 382 KB of unused JavaScript code and has poor caching settings that waste 385 KB of bandwidth on repeat visits. Fixing these JavaScript issues, implementing proper caching for fonts and images, and removing unused code could potentially improve the performance score by 30+ points and reduce load times by several seconds.

Other Optimization Recommendations

Optimize Resource Caching Strategy

High Impact+15 points estimated

Why It Matters:

Poor cache lifetime wastes 385 KiB on repeat visits and delays LCP by 1.7 seconds.

How to Fix:

Increase cache-control headers for static assets like fonts (PPLX-Sans-Beta-v2-VF.woff2, FKGroteskNeue.woff2) from 5 minutes to 1 year. Set immutable cache headers for versioned assets. Implement proper cache busting for when files actually change.

Fix Render-Blocking CSS

Medium Impact+10 points estimated

Why It Matters:

Blocking CSS delays first paint by 470ms and prevents users from seeing content quickly.

How to Fix:

Inline critical CSS for above-the-fold content directly in the HTML head. Load the remaining CSS (style-Csy45aDr.css) asynchronously using media='print' onload technique. Remove unused CSS rules (76% of the stylesheet is unused) to reduce file size from 82KB to 20KB.

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