Remove Unused JavaScript Code

How to optimize riobasel.ch

WordPress SiteScore: 73/100Analyzed January 2026

Remove Unused JavaScript Code

High Impact+18 points estimated

Why It Matters

173 KiB of unused JavaScript is blocking page load and delaying LCP by 850ms, with only 29% of loaded scripts being used.

How to Fix

Use Asset CleanUp or WP Rocket to disable unused scripts. Audit your theme's frontend.app.min.js and vendor.min.js files to remove unused code. Consider code splitting to load JavaScript only when needed. Defer Google Analytics loading until after page interaction.

0Needs Improvement

What This Score Means

A score of 73 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.8s
Poor

Good: < 2.5s

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

INP

Interaction to Next Paint

69ms
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 below-average performance with a score of 73/100, indicating significant room for improvement. The biggest problem is excessive unused JavaScript (173 KiB) that's slowing down page loading by nearly a second, combined with render-blocking CSS files that are delaying the initial page display by 1.8 seconds. The site's main content image takes 4.8 seconds to fully load due to poor resource loading delays and oversized images that could be 391 KiB smaller with proper optimization. Cleaning up the JavaScript files, deferring non-critical CSS, and implementing modern image formats with proper sizing could easily boost this site's performance score by 15-20 points and dramatically improve user experience.

Other Optimization Recommendations

Optimize LCP Image Discovery

High Impact+15 points estimated

Why It Matters:

Your largest contentful paint image has a 3-second resource load delay because it's not discoverable in the initial HTML.

How to Fix:

Add fetchpriority='high' to your carousel's first image in the WordPress theme template. Preload the LCP image using <link rel='preload'> in your theme's header.php. Remove lazy loading from above-the-fold carousel images by modifying your carousel plugin settings.

Eliminate Render Blocking Resources

Medium Impact+12 points estimated

Why It Matters:

CSS and JavaScript files are blocking first contentful paint for 1.8 seconds, preventing users from seeing any content.

How to Fix:

Inline critical CSS directly in your WordPress theme's header.php. Use WP Rocket to defer non-critical CSS like WooCommerce styles. Load the TypeKit font asynchronously using font-display: swap. Move Swiper.js to load after initial render since it's not needed immediately.

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