Enabled image caching based on filename