Caches `img` nodes to avoid the browser downloading the same images over and over again