KB IssueIn Application Request Routing, the webpages may not show updates for up to a minute. This behavior is by design.
Issue DetailsDuring the development of a website, we must constantly refresh the page we are working on to see our updates. If we cannot see new code updates, our visitors or clients could see broken pages when they visit our site, which is unacceptable.
Deploying an ARR (Application Request Routing) server with many child servers enables caching, making things work much more efficiently for our clients and servers.
Recreate IssueWhen your updates are not displaying on the page but files are updated on the server, this can be caused by many factors.
We are working with an ARR server that uses a Caching Server within IIS, which refreshes every 60 seconds.
Resolve Issue- Open IIS
Choose the ARR Server Node and expand it.- Expand [Server Farms]
- Click on [Farm Name]
- Click and open [Caching]
- In the section [Memory cache duration (seconds): 60]
Change the seconds to a smaller value while developing; once finished, reset it to 60 or higher. If you do not want to cache- Uncheck [Enable disk cache]
It is strongly advised to do this, as it helps deliver pages to clients faster and reduces stress on the servers.