即使从根目录中删除后,Web应用程序也会显示app_offline.htm内容 [英] Web app displaying app_offline.htm content even after removing it from root directory

查看:177
本文介绍了即使从根目录中删除后,Web应用程序也会显示app_offline.htm内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个 app_offline.htm 并将其放在我的网络应用程序的根目录中;这显示了我的应用程序处于开发阶段时网站域上文件的临时内容。

I have created an app_offline.htm and placed it in my web app's root directory; this displayed the temporary contents of the file on the website domain whilst my app is in development.

然而,当从我的网络应用程序的根文件夹中删除 app_offline.htm 文件时以及当我重新发布我的文件时网络应用程序仍然显示 app_offline.htm 的内容。我期待显示我的Web应用程序的原始内容。

However, when deleting the app_offline.htm file from the root folder of my web app and when I republish my web app, the contents of app_offline.htm are still displayed. I was expecting the original contents of my web application to be displayed.

我做错了吗?

推荐答案

你有没有?在服务器上启用了哪种缓存?像OutputCache一样?

Do you have some sort of caching enabled on the server? Like an OutputCache?

IIS重启也可能解决您的问题。

An IIS restart might fix your issue too.

这篇关于即使从根目录中删除后,Web应用程序也会显示app_offline.htm内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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