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?
- The topic ‘Preload Header media image’ is closed to new replies.