Joseph Caruana
Joseph Caruana

Reputation: 2271

Async Pages and Handlers

What is the main benefit of async pages and handlers? Is it that you offload load to a separate thread ? It's not that the user can do other things while the page processes - right?

Upvotes: 0

Views: 70

Answers (1)

justinb138
justinb138

Reputation: 411

Right, it's not something the user is going to see.

It's so you don't tie up a worker thread waiting for a long-running task to complete. You might not see much benefit with small sites on an average server, but it does help when the load starts to increase.

Upvotes: 1

Related Questions