simorgh icon indicating copy to clipboard operation
simorgh copied to clipboard

Investigate lazysizes library to improve loading & image component

Open gavinspence opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. The lazysizes library could help improve the lazy loading performance of our images and reduce unnecessary complexity in our image component by not having to calculate the image sizes attribute for every image.

Details can be found here:

  • https://afarkas.github.io/lazysizes/index.html
  • https://github.com/aFarkas/lazysizes/issues/545

Describe the solution you'd like

  • [ ] Investigate benefits of the lazysizes library
  • [ ] Understand potential performance improvements

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Testing notes [Tester to complete]

Dev insight: Will Cypress tests be required or are unit tests sufficient? Will there be any potential regression? etc

  • [ ] This feature is expected to need manual testing.

Checklist

Additional context Add any other context or screenshots about the feature request here.

gavinspence avatar Nov 03 '21 14:11 gavinspence