Enable the caching flag for loaded images