Change timout and cache_age to parameters. Method to set the cache age
Update