Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's up with gigantic images and page load speed on Spree marketing site? https://spreecommerce.org/ #11904

Open
vfonic opened this issue Jun 30, 2023 · 1 comment

Comments

@vfonic
Copy link
Contributor

vfonic commented Jun 30, 2023

Context

I understand that Spree is a great long-running project where a lot of people invested their time and built amazing functionality. It's great to see Spree receiving updates and adding new functionality!

I'm exploring the eternal dilemma of Spree vs Solidus for my next project.
I'm currently in Costa Rica where internet is not the fastest.
It takes a good 5 seconds to have the homepage hero slider first image load. The image is 500KB+, in a PNG format. Why is this not a JPEG or WebP?

Here are two screen recordings
spree-heavy-hero.mov
spree-heavy.mov
Here's Solidus homepage loading speed. It's insanely fast.
Screen.Recording.2023-06-30.at.08.53.29.mov

Here's PageSpeed Insights (Lighthouse) comparison:

Spree Solidus
Screenshot 2023-06-30 at 09 48 48 Screenshot 2023-06-30 at 09 48 41

It's even worse on mobile:

Spree Solidus
Screenshot 2023-06-30 at 09 48 59 Screenshot 2023-06-30 at 09 48 54

Expected Behavior

The page loads fast and it feels premium.

Actual Behavior

The page loads slow, making me think Spree is slow and not a good option for my future project(s).

Possible Fix

Optimize images. And convert them to JPG where possible. Not everyone is on fiber optics all the time, especially not on mobile.

I used ImageOptim and compressed the homepage slider image by 69.8% (!!!) and dev docs image by 71.1%!

Just in case, here are the optimized images

Screenshot 2021-09-14 at 22 45 58

spree_commerce_home_header_2@2x-2

@vfonic
Copy link
Contributor Author

vfonic commented Jun 30, 2023

This image: https://spreecommerce.org/wp-content/uploads/2020/03/slider-inner-1-bg-shaded.jpg

Is 220KB on this page:
https://spreecommerce.org/use-cases/international-sales-demo/

Why?

Compressed in 2 seconds with ImageOptim, it's 10KB!

Please, compress your images...

@vfonic vfonic changed the title What's up with gigantic images and page load speed? What's up with gigantic images and page load speed on Spree marketing site? Jul 3, 2023
@vfonic vfonic changed the title What's up with gigantic images and page load speed on Spree marketing site? What's up with gigantic images and page load speed on Spree marketing site? (https://spreecommerce.org/) Jul 3, 2023
@vfonic vfonic changed the title What's up with gigantic images and page load speed on Spree marketing site? (https://spreecommerce.org/) What's up with gigantic images and page load speed on Spree marketing site? https://spreecommerce.org/ Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant