0

We have an .NET app. After deployment, we noticed that a number of users had to clear their cache in order for the page to work properly.

I was wondering if an IIS app recycling would do the same thing so the users do not need to clear their local cache.

Nate Pet
  • 44,246
  • 124
  • 269
  • 414

1 Answers1

0

The server provides caching hints to the client in the response to each resource--many websites have different responses depending on the resource type (static files like .js libraries, css and images, versus dynamic results from .asp pages or API calls). You can use Postman or Fiddler or the developer tools in your browser to view the response headers...and then you can control expiration either in the web.config, the global.asax or your individual code file.

For more information see:

Geoffrey McGrath
  • 1,663
  • 1
  • 14
  • 35