Add Image Dimensions and Fonts

How to optimize techiespremierleague.com

Ruby on Rails SiteScore: 0/100Analyzed February 2026

Add Image Dimensions and Fonts

Medium Impact+8 points estimated

Why It Matters

Missing width/height attributes cause layout shifts during load, hurting CLS and user experience.

How to Fix

Add explicit width and height attributes to all image_tag helpers in your Rails views. Set font-display: swap in your CSS for Font Awesome fonts to prevent invisible text during load. Use Rails' stylesheet_link_tag with preload: true for critical fonts to reduce render blocking.

0Poor

What This Score Means

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

N/A
Needs Improvement

Good: < 2.5s

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

INP

Interaction to Next Paint

89ms
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 Ruby on Rails site has critical performance issues with a score of 0/100, indicating severe loading problems. The biggest issue is extremely slow server response time, with the initial document request taking an estimated 400ms longer than it should, which delays both First Contentful Paint (3.9 seconds) and overall page loading. The site is also suffering from render-blocking JavaScript and CSS files that prevent the page from displaying content quickly, plus unoptimized images that could be compressed by 25KB. Fixing the server latency and deferring non-critical resources could potentially improve loading times by several seconds and dramatically enhance user experience.

Other Optimization Recommendations

Fix Document Request Latency

High Impact+25 points estimated

Why It Matters:

Server response delays are blocking initial page render and delaying both LCP and FCP by 400ms.

How to Fix:

Enable gzip/brotli compression in your Rails app.rb with 'config.middleware.use Rack::Deflater'. Add CDN like CloudFlare to reduce latency. Optimize your Rails controller to avoid database N+1 queries using includes() for associations. Consider moving static assets to a faster server or CDN.

Optimize Image Compression and Sizing

High Impact+15 points estimated

Why It Matters:

Images are oversized and poorly compressed, wasting 25KB of bandwidth and slowing page load.

How to Fix:

Use the 'image_processing' gem with ImageMagick to automatically compress images in Rails. Resize header-logo.webp to match display dimensions (438x86 instead of 681x134). Increase compression on womens-mens.webp and Patterns.webp by 50%. Serve responsive images using Rails' image_tag with srcset for different screen sizes.

Want to Analyze YOUR Website?

Get AI-powered performance insights with actionable fixes in 30 seconds

More Ruby on Rails Speed Tests

Ruby on Rails 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