Remove Unused JavaScript and CSS

How to optimize dtagrimart.com

Generic SiteScore: 95/100Analyzed June 2026Re-analyze this site

Remove Unused JavaScript and CSS

Medium Impact+1 points estimated

Why It Matters

65% of Swiper.js and 97% of CSS are unused, adding unnecessary 49 KiB to page weight.

How to Fix

Create custom Swiper build with only needed modules instead of full bundle. Extract critical CSS for above-the-fold content and defer the rest. Remove unused Bootstrap components from all.min.css. Consider code-splitting to load Swiper only when needed.

0Good

What This Score Means

A score of 95 falls in the "Good" 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

2.1s
Good

Good: < 2.5s

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

INP

Interaction to Next Paint

56ms
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 e-commerce site achieves an excellent performance score of 95/100, indicating very strong overall optimization. However, the biggest remaining issue is oversized images that are wasting 219 KiB of bandwidth - particularly a chickpea product image that's being served at 1940x2000 pixels but only displayed at a much smaller 1045x697 size. Additionally, there's unused JavaScript code (28 KiB from the Swiper carousel library) and unminified CSS (11 KiB) that could be cleaned up. While these optimizations won't dramatically change the already-high score, properly sizing images and removing unused code would reduce page load times and improve the user experience, especially for visitors on slower connections.

Other Optimization Recommendations

Optimize Image Delivery and Sizing

High Impact+2 points estimated

Why It Matters:

Images are oversized and under-compressed, wasting 219 KiB and potentially delaying LCP.

How to Fix:

Resize the main product image from 1940x2000 to match display dimensions (~388x400). Implement responsive images using srcset attribute. Increase compression for WebP images while maintaining visual quality. Use image optimization tools or CDN with automatic resizing.

Reduce Resource Load Delay

High Impact+3 points estimated

Why It Matters:

LCP breakdown shows 1.9 seconds of resource load delay, significantly impacting perceived performance.

How to Fix:

Add fetchpriority='high' to the main product image (already implemented for feature image). Preload critical images above the fold. Optimize server response times and consider using a CDN for faster asset delivery. Move non-critical JavaScript loading to after LCP element loads.

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