简体   繁体   中英

Web app displaying app_offline.htm content even after removing it from root directory

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?

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

An IIS restart might fix your issue too.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM