Moving cache duration to static property.