Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does changing web.config deletes all cache objects?

Tags:

asp.net

If i change the web.config file , does my application delets all cache objects ?

like image 810
Royi Namir Avatar asked Jul 26 '26 19:07

Royi Namir


1 Answers

When you change the web.config file, your application pool resets. This will clear out any in-memory caches that exist in the process space of the application pool.

If you cache items on the disk or in a database (or other shared resource not in the same memory space as you application), the cache will not be cleared.

like image 171
Oded Avatar answered Jul 28 '26 13:07

Oded



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!