New answers tagged

0 votes

How to Programatically update the media attachment in the specific version of a media item in Sitecore 9.3

Try using this. var media = MediaManager.GetMedia(mediaItem); media.SetStream(stream, "YourFileExtension"); This code will not delete any previous version and is useful if you want to ...
user avatar
  • 1,448
1 vote

Is it possible to preload an image for the hero banner in Sitecore to improve LCP?

Image preloading can be achieved by adding <link rel="preload"> with the URL of your LCP image to the <head> section of your HTML page: <link rel="preload" href=&...
user avatar
0 votes

Is it possible to preload an image for the hero banner in Sitecore to improve LCP?

Try converting images to webP Images. This will help to reduce the page load time for large size images. Reference : https://anothersitecoreblog.wordpress.com/2021/03/03/serving-images-in-webp-format/
user avatar
  • 1
0 votes

Is it possible to preload an image for the hero banner in Sitecore to improve LCP?

Try to implement lazy loading hero images so that on page load all the images wont load and on scroll down each image gets loaded. By doing these we can reduce load time of images.
user avatar
  • 19
2 votes

Is it possible to preload an image for the hero banner in Sitecore to improve LCP?

You can try below things to improve performance of page: Use Dianoga tool for optimize images, you can read more about it on this link. You can use jQuery lazy loader plugin. Apply Sitecore cache on ...
user avatar

Top 50 recent answers are included