added way to set cache duration on cors fluent settings