I am using package Microsoft.AspNet.StaticFiles and configuring it in Startup.cs as app.UseStaticFiles(). How can I change the headers
Microsoft.AspNet.StaticFiles
Startup.cs
app.UseStaticFiles()
Under IIS, you can add a web.config file to your wwwroot folder with header configurations. An example that will control cache headers for all files: