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

Lazy load images #18

Open
libuk opened this issue Sep 25, 2017 · 4 comments
Open

Lazy load images #18

libuk opened this issue Sep 25, 2017 · 4 comments
Assignees

Comments

@libuk
Copy link
Contributor

libuk commented Sep 25, 2017

Improve site performance by lazy loading images

@libuk libuk self-assigned this Sep 25, 2017
@libuk
Copy link
Contributor Author

libuk commented Oct 21, 2017

@DebsDee Upon further inspection, I don't think we're loading enough images to warrant lazy loading. The problem is with the size of the images that are currently being loaded.

We're currently loading the avatars for the team as .svg, I think these would be fine as .png and would greatly decrease the page size. ama.svg at 6mb is responsible for half of the page load on it's own (Full page is 12.2mb).

I think making each a .png with the size 150 x 150 would be great.

screen shot 2017-10-21 at 11 48 09

@DebsDee
Copy link
Member

DebsDee commented Oct 21, 2017

Hey @libuk, I've changed team images to pngs and tinified all pngs on the site. Page speed performance still isn't great: https://developers.google.com/speed/pagespeed/ but file sizes are much smaller.

@libuk
Copy link
Contributor Author

libuk commented Oct 23, 2017

@DebsDee Good stuff, I think the images could still be a lot smaller (< 10kb) but the page weight has improved a lot and won't eat into users data as much.

The render blocking CSS is what I'll focus on next. I'll look into bundling the CSS and JS.

@DebsDee
Copy link
Member

DebsDee commented Oct 24, 2017

Thanks @libuk I'll bear this in mind once we start uploading speaker profiles.

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

2 participants