Implemented Image Caching.