ASP.NET MVC on Cassini: How can I force the “content” directory to return 304s instead of 200s?
问题 Scenario : I have an ASP.NET MVC application developed in Visual Studio 2008. There is a root folder named "Content" that stores images and stylesheets. When I run locally (using Cassini) and browse my application, every resource from the "Content" directory is always downloaded. Using Firebug, I can verify that the web server returns an HTTP 200 ("ok"). Desired : I would like for Cassini to return HTTP 304 ("not modified") instead of 200. This is the behavior when running the site under IIS7