internetarchive / internetarchive/openlibrary

Serve images in next-gen formats

Open
#3,222 7 comments 0 reactions 0 assignees View on GitHub
Lead: @cdrini Needs: Detail Priority: 3 Theme: Performance Type: Bug Type: Subtask of Epic
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

Image formats like JPEG 2000, JPEG XR, and WebP often provide better compression than PNG or JPEG, which means faster downloads and less data consumption. Current .png and .jpg extensions in open library slow the loading of the site significantly almost 1.8s and there is an opportunity here to improve the page load speed.

**Pages:**

- [ ] Homepage

### Evidence / Screenshot (if possible)
#### Home Page delay:
![Screenshot from 2020-03-20 13-07-49](https://user-images.githubusercontent.com/31198893/77144472-00e2bc80-6aac-11ea-9d6b-938d176fa5ea.png)

### Relevant url?

https://developers.google.com/speed/pagespeed/insights/?url=openlibrary.org
[Link for efficiently encoding images](https://web.dev/uses-optimized-images/?utm_source=lighthouse&utm_medium=devtools)

### Stakeholders

@tabshaikh

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.