我在web.config中添加了以下一个
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="10.00:00:00" />
</staticContent>
Run Code Online (Sandbox Code Playgroud)
但我没有看到响应标头过期.我应该做其他任何改变吗?

在ASP.net 4.5中,我们曾经能够通过在web.config中添加"ClientCache"来启用静态资源上的expires头(反过来,启用浏览器缓存),例如:
<staticcontent>
<clientcache cachecontrolmode="UseMaxAge" cachecontrolmaxage="365.00:00:00" />
</staticcontent>
Run Code Online (Sandbox Code Playgroud)
如http://madskristensen.net/post/cache-busting-in-aspnet中所述
当我们没有web.config和Startup.cs时,我们现在如何在ASP.net 5中执行此操作?