Defer Non-Critical JavaScript Loading

How to optimize capriprivateboattours.com

Next.js SiteScore: 73/100Analyzed April 2026Re-analyze this site

Defer Non-Critical JavaScript Loading

High Impact+15 points estimated

Why It Matters

Unused JavaScript is costing 600ms in LCP delay and consuming 288 KiB of bandwidth.

How to Fix

Move Google Tag Manager and analytics scripts to load after page interaction using Next.js Script component with strategy='afterInteractive'. Implement code splitting for unused portions of your JavaScript bundles. Use dynamic imports for non-critical components to reduce initial bundle size.

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

6.3s
Poor

Good: < 2.5s

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

INP

Interaction to Next Paint

170ms
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 Next.js boat tour website has below-average performance with a score of 73/100, struggling with slow loading times that hurt user experience. The biggest problem is an extremely slow Largest Contentful Paint of 6.3 seconds, primarily caused by large video files (over 5MB for the hero video) and render-blocking CSS files that delay the initial page display by 440ms. The site is also loading nearly 300KB of unused JavaScript from Google Analytics and Tag Manager scripts that could be deferred, while inefficient caching settings are missing opportunities to speed up repeat visits. Optimizing video delivery, deferring non-critical JavaScript, and implementing proper caching could easily improve the performance score by 15-20 points and dramatically reduce loading times.

Other Optimization Recommendations

Optimize Hero Video and Images

High Impact+18 points estimated

Why It Matters:

Large video files (5.7MB + 1.5MB) and unoptimized images are causing slow LCP of 6.3 seconds.

How to Fix:

Compress hero videos using tools like HandBrake with H.264 codec targeting 1-2MB max size. Replace video poster with optimized WebP at higher compression. Use Next.js Image component with priority prop for above-the-fold images and implement responsive sizing.

Implement Efficient Browser Caching

Medium Impact+8 points estimated

Why It Matters:

Poor cache policies are wasting 192 KiB on repeat visits and delaying LCP by 1050ms.

How to Fix:

Configure your Supabase storage bucket with longer cache headers (max-age=31536000 for static assets). Add cache-busting query parameters for updated content. Set up Next.js static optimization in next.config.js with proper headers for immutable assets.

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