IIS7: Cache Setting Not Working… why?
问题 My IIS7 web.config is set to the following with a folder of static assets (not within an ASP.NET app or anything): <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <staticContent> <clientCache cacheControlCustom="public" cacheControlMode="UseMaxAge" cacheControlMaxAge="500.00:00:00" /> </staticContent> <httpProtocol allowKeepAlive="false" /> </system.webServer> </configuration> When I try to access a Silverlight .XAP file, I expect IIS to tell the browser that it can