Web app displaying app_offline.htm content even af

2019-09-15 04:48发布

问题:

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.

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.

Am I doing this wrong?

回答1:

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

An IIS restart might fix your issue too.



回答2:

JUST DELETE THE BROWSER CHACHE AND COOKIES 99% PROBLEM WILL BE SOLVED!

another way is to rename the root folder and come to the browser and refresh it will say "root doesn't exit" then change the root folder name to original and then come to browser and refreash