CorsFeature SetPreflightMaxAge

I want to know if there is a way for Cors to set the preflight (OPTIONS) max age cache control header?

In ASP.Net you do it as follows:

However I do not see such an option for ServiceStack’s CoresFeature. Or is there another way to implement this?

More info:

The Access-Control-Max-Age CORS HTTP Header is set with maxAge, e.g:

Plugins.Add(new CorsFeature(maxAge:600)); // Chrome max is 600s
1 Like