Because caching involves making and saving a copy of the served file, some routine maintenance is required for the cache to function properly. Cached files must be checked for freshness and invalidated when they are no longer consistent with the files on the origin server. This file expiration process is explained in File expiration. Also, invalidated or unused files must be removed from the cache to make room for new files. This cache-purging process is described in Garbage collection.