Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't clear ASP.NET cache

We have a 2.x ASP.NET application, running on Windows Server 2k8R2.

We had to make a couple of changes and when we posted them to production the new changes are not working. When I check the physical page on the production server all of the new code is there, however the old code is still executing.

Something seems cached and I don't know where to check to un-cache it? I quickly restarted IIS but I can't bring server down for a long period of time until later tonight. I would like to figure out why this is happening so I can reset it now and also avoid it in the future. Any idea?

like image 685
Larry Grady Avatar asked May 02 '26 08:05

Larry Grady


1 Answers

It's the same as refreshing the application pool. Do that instead, it's much faster!

like image 146
Bjerh Avatar answered May 04 '26 10:05

Bjerh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!