Reduce Unused JavaScript Bundles

How to optimize khoji.connect.happythoughts.in

Next.js SiteScore: 49/100Analyzed March 2026Re-analyze this site

Reduce Unused JavaScript Bundles

High Impact+25 points estimated

Why It Matters

570 KiB of unused JavaScript is blocking page load and delaying LCP by 2.75 seconds.

How to Fix

Use Next.js dynamic imports to code-split large components with `const Component = dynamic(() => import('./Component'))`. Enable tree-shaking by removing unused imports in eb88397e2b11df3c.js and efd522780006ae1a.js. Implement route-based code splitting to load only required JavaScript per page.

0Poor

What This Score Means

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

18.9s
Poor

Good: < 2.5s

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

INP

Interaction to Next Paint

275ms
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 Next.js/React site has poor performance with a score of 49/100, indicating significant user experience issues. The biggest problem is an extremely slow Time to Interactive of 21.7 seconds, primarily caused by excessive JavaScript execution (1.8 seconds) and 570 KiB of unused JavaScript code that's unnecessarily blocking the page. The site is also loading oversized images (448 KiB savings possible) and a large 3.8 MB total payload, with a massive logo file being served at 2852x2696 pixels when only 123x123 is needed. Reducing unused JavaScript, optimizing image sizes, and implementing code splitting could improve the performance score by 30+ points and dramatically reduce load times.

Other Optimization Recommendations

Optimize Image Delivery System

High Impact+18 points estimated

Why It Matters:

Logo image is 275KB but displays at only 70x70px, wasting bandwidth and slowing LCP.

How to Fix:

Use Next.js Image component with proper sizing: `<Image src='logo.png' width={70} height={70} sizes='70px' />`. Create responsive image variants using next-optimized-images or Cloudinary. Convert PNG logos to WebP format and implement srcSet for different screen densities.

Eliminate Main Thread Blocking

High Impact+15 points estimated

Why It Matters:

3.2 seconds of main thread work creates 690ms Total Blocking Time, preventing user interactions.

How to Fix:

Move heavy JavaScript execution to Web Workers where possible. Use React.lazy() for component-level code splitting: `const LazyComponent = React.lazy(() => import('./Component'))`. Break up long-running tasks using scheduler.postTask() or setTimeout to yield control back to the browser.

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 Next.js Speed Tests

Next.js Performance Resources

Frequently Asked Questions