internetarchive / internetarchive/openlibrary
Issues Related to Performance seen during lighthouse audit
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 2k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 138
Description
Lighthouse performance audit for different pages:
Home Page: https://openlibrary.org/
Author Page: https://openlibrary.org/authors/OL18319A/Mark_Twain
Edition Page: https://openlibrary.org/books/OL27459710M/Holding_Up_the_Universe
| | Desktop | Mobile |
| :--- | :---: | ---: |
| Home page | 58 | 62 |
| Author Page | 80 | 87 |
| Edition Page | 52 | 59 |
#### Homepage Desktop Performance Summary:

#### Homepage Mobile Performance Summary:

#### Author Page Desktop Performance Summary:

#### Author Page Mobile Performance Summary:

#### Edition Page Desktop Performance Summary:

#### Edition Page Mobile Performance Summary:

#### Issues Common to all pages:

**The Key issues needed to improve Openlibary performance are below(in order of priority) ::**
- [ ] Properly size images #3223
- [ ] Serve static assets with an efficient cache policy
- [ ] Twitter preview blocked for IA hosted images #1841
- [ ] Preload key requests #3221
- [ ] Serve images in next-gen formats #3222
- [ ] Preconnect to required origins #3224
- [ ] Avoid flash of invisible text #3226
- [ ] Ensure text remains visible during webfont load
- [ ] Minimize main-thread work
- [ ] Avoid an excessive DOM size
- [ ] Reduce JavaScript execution time
- [ ] Avoid chaining critical requests
- [ ] Keep request counts low and transfer sizes small
**Audit Report** can be found here -> [https://archive.org/details/ol-audit](https://archive.org/details/ol-audit)
[desktop-author.pdf](https://github.com/internetarchive/openlibrary/files/4380790/desktop-author.pdf)
[author-mobile.pdf](https://github.com/internetarchive/openlibrary/files/4380791/author-mobile.pdf)
[edition-mobile.pdf](https://github.com/internetarchive/openlibrary/files/4380793/edition-mobile.pdf)
[edition-desktop.pdf](https://github.com/internetarchive/openlibrary/files/4380794/edition-desktop.pdf)
### Stakeholders
@tabshaikh
Contributor guide
Assessment
This issue has not been assessed yet.