added a new setting that allows to specify the number of days before a cache entry must be deleted