redwoodjs / redwoodjs.com

redwoodjs.com redesign for 1.0
21 stars 22 forks source link

Improve initial load performance and optimize all images #86

Closed KrisCoulson closed 2 years ago

KrisCoulson commented 2 years ago

This PR addreses poor loading experience on the initial render. image

Addditionally it adds webp photo loading optimizations for modern browsers with fallbacks to the original jpgs and preloads google fonts to prevent content layout shifts from fonts being downloaded.

Before

https://user-images.githubusercontent.com/6943688/181440743-f20e75a7-95bb-4859-b1f1-acfb09e858aa.mp4

After

https://user-images.githubusercontent.com/6943688/181440712-dd2b0216-6dbd-4947-8c7f-3947f3b1c870.mp4

netlify[bot] commented 2 years ago

Deploy Preview for redwood-sprout ready!

Name Link
Latest commit 109cba33efbf88466826ce19d24b48a519402798
Latest deploy log https://app.netlify.com/sites/redwood-sprout/deploys/62e230ef0495660009ad9e38
Deploy Preview https://deploy-preview-86--redwood-sprout.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.