Largest Contentful Paint
Good: < 2.5s
Measures how long it takes for the main content to appear on screen
How to optimize staging.deployhq.com
Customer avatar images are loading at 400x400px but displaying at only 33x33px, wasting 60KB of bandwidth.
Use Rails Active Storage variants to serve appropriately sized images. Create responsive image variants: avatar.variant(resize_to_limit: [66, 66]) for 2x displays. Convert images to WebP format using the image_processing gem. Add explicit width and height attributes to prevent layout shift.
A score of 72 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.
Largest Contentful Paint
Good: < 2.5s
Measures how long it takes for the main content to appear on screen
Interaction to Next Paint
Good: < 200ms
Measures how quickly the page responds to user interactions
Cumulative Layout Shift
Good: < 0.1
Measures visual stability - how much content shifts during page load
This Ruby on Rails site has poor performance with a score of 72/100, struggling significantly with page loading speed. The biggest problem is an extremely slow Largest Contentful Paint of 16 seconds, caused by multiple critical issues including page redirects that waste nearly 19 seconds, oversized images that could be reduced by 60KB, and 291KB of unused JavaScript from Google Analytics and Tag Manager. The site also suffers from unminified CSS and JavaScript files, poor caching strategies, and missing image dimensions that hurt layout stability. Fixing the redirect chain, optimizing images with proper sizing and modern formats, and removing unused JavaScript could dramatically improve the score by 30+ points and provide a much faster, more reliable user experience.
Why It Matters:
Page redirects are adding nearly 19 seconds to load time, severely impacting LCP performance.
How to Fix:
Update your Rails routes.rb to serve content directly at the canonical URL without redirects. Check your web server configuration (nginx/Apache) to ensure proper routing. Update any internal links to point directly to the final destination URLs.
Why It Matters:
The hero background image is your LCP element but lacks priority optimization, delaying critical rendering.
How to Fix:
Add fetchpriority='high' attribute to the hero image element in your Rails view template. In your ERB file, update the img tag to: <%= image_tag 'hero-glow.jpg', fetchpriority: 'high', class: 'lp-hero__bg-img' %>. Consider preloading this critical image in the <head> section.
Get AI-powered performance insights with actionable fixes in 30 seconds
More Ruby on Rails Speed Tests
2.2MB of unused JavaScript and 485KB unused CSS waste bandwidth and slow parsing.
Layout shifts score of 1.03 severely impacts user experience and Core Web Vitals.
Missing width/height attributes cause layout shifts during load, hurting CLS and user experience.
Images are oversized and poorly compressed, wasting 25KB of bandwidth and slowing page load.
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.