Remove Unused JavaScript Files

How to optimize yarashar.com

WordPress SiteScore: 75/100Analyzed February 2026

Remove Unused JavaScript Files

Medium Impact+8 points estimated

Why It Matters

89KB of unused JavaScript (96% waste in Swiper libraries) delays LCP by 450ms and blocks main thread.

How to Fix

Deactivate unused Elementor components in WordPress admin if not needed. Remove duplicate Swiper library loading (both minified and unminified versions detected). Use Asset CleanUp plugin to conditionally load scripts only where needed.

0Needs Improvement

What This Score Means

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

4.2s
Poor

Good: < 2.5s

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

INP

Interaction to Next Paint

36ms
Good

Good: < 200ms

Measures how quickly the page responds to user interactions

CLS

Cumulative Layout Shift

0.02
Good

Good: < 0.1

Measures visual stability - how much content shifts during page load

AI Performance Analysis

This WordPress site has moderate performance issues with a score of 75/100, but faces significant loading delays that hurt user experience. The biggest problem is excessive redirects and slow server response times, which create a devastating 1.17-second delay before anything starts loading, followed by a 5.4-second resource load delay that pushes the Largest Contentful Paint to 4.2 seconds. The site is also bloated with unused JavaScript from Elementor plugins (89 KiB of waste) and oversized images that are much larger than needed for display, with the main slider image alone wasting 195 KiB. Fixing the redirect chain, optimizing server response times, removing unused code, and properly sizing images could easily improve the score by 15-20 points and dramatically speed up the site.

Other Optimization Recommendations

Eliminate Multiple Page Redirects

High Impact+12 points estimated

Why It Matters:

Redirects add 780ms delay and directly impact LCP by 800ms, significantly slowing first page load.

How to Fix:

Update all internal links to use https://yarashar.com/ instead of https://www.yarashar.com/. Configure your WordPress site URL in wp-config.php to avoid www redirect. Set up proper 301 redirects in .htaccess to prevent redirect chains.

Optimize LCP Image Discovery

High Impact+10 points estimated

Why It Matters:

Your LCP image has 5.4s resource load delay because it's not discoverable in initial HTML, severely impacting user experience.

How to Fix:

Add fetchpriority='high' attribute to your hero slider image. Move the LCP image source directly into HTML instead of loading via JavaScript. Use a proper img tag with src attribute rather than lazy loading for above-the-fold content.

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