function preload_image(im_url) { let img = new Image(); img.src = im_url; } preload_image("https://cdn02.plentymarkets.com/1yfutyoojybq/frontend/startseite/DE_Online_Slider_HERBST24_Desktop_1980x1080_1.webp"); preload_image("https://cdn02.plentymarkets.com/1yfutyoojybq/frontend/startseite/DE_Online_Slider_HERBST24_Mobil_652x986px_1.webp");