2024-04-29 [Problem] When you start slideshow.php with 'Empty Cache and Hard Reload' slide-001.jpg exposes call stack in the Network tab, like shown below: ------------------------------------------------- Image (async) (anonymous) @ VM607:40 setTimeout (async) onPreload @ VM607:39 (anonymous) @ VM607:168 insertSlide @ VM607:167 (anonymous) @ VM607:237 (anonymous) @ VM607:247 ------------------------------------------------- The cause of this problem hasn't been found out. A temporal solution is set the time interval of setTimtout 30 or above. ( I set it 500 for sure ) ------------------------------------------------- function onPreload(src,callback){ const img=new Image(); img.addEventListener("load",function(e){ if(callback){callback(e);} }); setTimeout(function(){ img.src=src; },500); <============================================== }; -------------------------------------------------