fixed the cache manager to properly expire if the base file changes