supertokens/blog

Add `loading="lazy"` to blog card images after the first 3 images

Closed this issue · 0 comments

Summary of problem

  • Blog listing page has ~25 cards, each having a cover image.
  • Without loading="lazy", all these images are loaded when the page loads.
  • This is responsible for a lot of image requests which are not visible on the screen and thus not required.
  • The cards should have loading="lazy" for all cards except the first 3 cards as they are visible when the page loads