Implemented http cache for images