Closed astralscott closed 8 years ago
If I preload some images, then insert html into the DOM later without using the returned image objects, will they be cached and load instantly?
Yes, normally the browser won't request the same image again. However, it depends on the cache control headers for the image and the browser's cache policy.
Thank you sir! :)
If I preload some images, then insert html into the DOM later without using the returned image objects, will they be cached and load instantly?