Caches images both on disk and in memory