Kevin Pang
Kevin Pang

Reputation: 41442

What's the difference between recycling an app pool manually vs automatically?

I've noticed that you can manually recycle an application pool via IIS and that doing so seems to slow down my web app significantly less than making changes to files in App_Code or the web.config file. Is this because recycling the application pool via IIS doesn't force a recompilation of the temporary internet files, but changing App_Code or web.config does?

Upvotes: 1

Views: 2160

Answers (1)

Jon Grant
Jon Grant

Reputation: 11530

Yes... :)

Recycling just restarts the worker process to get rid of any memory leaks, etc. Changing anything will force a recompile.

Upvotes: 3

Related Questions