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

ui: add Lazy loading for images>1MB #14448

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

codewithnick
Copy link

inital loading of hompage was loading around 12MB of resources. By lazy loading images we can reduce the intial loading by 7-8 MB.

Done

  • [List of work items including drive-bys - remember to add the why and what of this work.]

QA

  • Check out this feature branch
  • Run the site using the command ./run serve or dotrun
  • View the site locally in your web browser at: http://0.0.0.0:8001/
    • Be sure to test on mobile, tablet and desktop screen sizes
  • [List additional steps to QA the new features or prove the bug has been resolved]

Issue / Card

Partially Fixes: #14443

Screenshots

[If relevant, please include a screenshot.]
image

Help

QA steps - Commit guidelines

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
@webteam-app
Copy link

codewithnick is not a collaborator of the repo

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 this pull request may close these issues.

The homepage is 12.8MB in size
2 participants