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

The homepage is 12.8MB in size #14443

Open
anthonydillon opened this issue Oct 22, 2024 · 2 comments · Fixed by #14448
Open

The homepage is 12.8MB in size #14443

anthonydillon opened this issue Oct 22, 2024 · 2 comments · Fixed by #14448

Comments

@anthonydillon
Copy link
Contributor

Summary

When loading the website's homepage, the page size is 12.8MB, which seems far too large for a mostly static page.

Steps to reproduce the behavior

  1. Create a new profile in your browser so there are no browser plugins.
  2. Open the inspector, select Network tab and ensure all formats are shown
  3. Hard load/refresh the homepage
  4. See the resources load totals to 12.8MB

Expected behavior

I would imagine the page could be less than 2-3MB. I would like to see pages <1MB.

Browser/device details

Reported from

GitHub

codewithnick added a commit to codewithnick/ubuntu.com that referenced this issue Oct 24, 2024
inital loading of hompage was loading around 12MB of resources.
By lazy loading images we can reduce the intial loading by 7-8 MB.

Partially Fixes: canonical#14443
@anthonydillon
Copy link
Contributor Author

I appreciated the lazy loading of the images, which speeds up the initial load, but we should also reduce the page's weight with image optimisation.

@anthonydillon anthonydillon reopened this Nov 26, 2024
@petesfrench
Copy link
Contributor

This issue was unintentionally closed when I closed the submitted PR.

We can also look into our build pipeline, as many things appear there that aren't needed globally.

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

Successfully merging a pull request may close this issue.

2 participants