IIS防爆preSS过于缓存经典的ASP页面 [英] IIS Express overly caching classic ASP pages

查看:119
本文介绍了IIS防爆preSS过于缓存经典的ASP页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个随机出现的问题在哪里,当我更改了ASP页IIS防爆preSS不承认。它提供了页面的previous版本而不是。

我可以通过重新编辑页面,让一个小的变化,那么撤消更改并重新保存文件解决此问题。但是,这很烦人...

到目前为止,我只看到这一点与传统的ASP页面,而不是其他文件(HTML,JS,CSS ...)在我的项目。我知道,IIS缓存的ASP页面,并更新文件时更新缓存,所以一定有东西preventing从这些文件时更改IIS承认。我只是不知道会是什么。

在情况下,重要的我使用Visual Studio 2013,IIS防爆preSS 1557年7月1日在Windows 7上。

我的web.config:

 <?XML版本=1.0编码=UTF-8&GT?;
<结构>
    <&的System.Web GT;
        <编译调试=真targetFramework =4.5/>
        <的customErrors模式=关/>
    < /system.web>
    < system.webServer>
        < httpErrors errorMode =详细/>
    < /system.webServer>
< /结构>


解决方案

我没有,因为从7版本升级IIS防爆preSS 10遇到过这个问题(的下载这里)。

见这里如何检测你的IIS前preSS的版本。

I have this randomly occurring problem where IIS Express does not recognize when I make a change to an ASP page. It serves up the previous version of the page instead.

I can work around this problem by re-editing the page, making a small change, then undoing the change and re-saving the file. But that's annoying...

So far I've only seen this happen with Classic ASP pages, not the other files (html, js, css...) in my project. I know that IIS caches ASP pages and updates the cache when the file is updated, so something must be preventing IIS from recognizing when these files change. I just don't know what that could be.

In case it matters I'm using Visual Studio 2013, IIS Express 7.1.1557 on Windows 7.

My web.config:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.web>
        <compilation debug="true" targetFramework="4.5" />
        <customErrors mode="Off" />
    </system.web>
    <system.webServer>
        <httpErrors errorMode="Detailed" />
    </system.webServer>
</configuration>

解决方案

I have not experienced this problem since upgrading IIS Express from version 7 to 10 (download here).

See here for how to detect your version of IIS Express.

这篇关于IIS防爆preSS过于缓存经典的ASP页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆