This repository was archived by the owner on Feb 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Some perf suggestions #184
Copy link
Copy link
Open
Labels
openGood to start work onGood to start work on
Description
First of all, great work on this site! This is amazing. After running the site through https://www.webpagetest.org/easy I noticed a few things that could be changed to make the site load even faster:
- First, this seems to be a known issue but the images seem a little large. Serving them as webp's in supported browsers could help alot here along with compressing those images.
- Second, it currently looks like all below the fold images are being loaded up front, therefore blocking critical assets like JS and CSS from loading. I built this component https://github.com/ionic-team/ionic-pwa-toolkit/blob/b45f22d7508b429a66d763287959dd2fde2243fe/src/components/lazy-img/lazy-img.tsx which automatically lazy loads below the fold images. This component should work great on this site.
- Third, I would look into using
<link rel='preload'to preload critical assets (JS and CSS). Let me know if you have any questions about how to implement this.
PaulPaulDevelopsFdom92
Metadata
Metadata
Assignees
Labels
openGood to start work onGood to start work on