ASP.NET MVC on Cassini: How can I force the “content” directory to return 304s instead of 200s?

前端 未结 3 2005
北海茫月
北海茫月 2020-12-14 11:27

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. Wh

3条回答
  •  一整个雨季
    2020-12-14 11:58

    I've had a similar problem in Chrome. To resolve this uncomment the IPv4 localhost line in you hosts file. Apparently these are commented by default in Windows 7.

    127.0.0.1       localhost
    #::1             localhost
    

提交回复
热议问题