Support » Theme: Primer » Preload Header media image

  • Hi,

    I am using randomize header image feature to set 4 images that are ranomly chosen for each page of the website. Even though they are lazyloaded, these image are quite big and count towards the LCP google speed metric. I want to preload them.

    Since, the image is chosen at random each time server side cache is refreshed, it will not be efficient to preload all 4 images on each page.

    Is it possible to add preload attribue to these images tag by modifying some php file?

    • This topic was modified 6 months, 2 weeks ago by sigagan.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Preload Header media image’ is closed to new replies.