在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中执行此操作?