DEV Community

Discussion on: Use React.Suspense to wait for an image to load

Collapse
 
sergiodxa profile image
Sergio Daniel Xalambrí

The actual image cache is happening in the browser, we only cache the resources to avoid creating two resource for the same image. The cache of resource is in memory so if the user reload the page it will clear, the cache of the image depends on the HTTP header defined in the response of each image.