Azure Tips and Tricks Part 143 - Keep your Azure Web App Hydrated and Responsive

1 minute read


Most folks aren’t aware of how powerful the Azure platform really is. As I’ve been presenting topics on Azure, I’ve had many people say, “How did you do that?” So I’ll be documenting my tips and tricks for Azure in these posts.

The Complete List of Azure Tips and Tricks

Available Now!

Keep your Azure Web App Hydrated and Responsive

If you have ever noticed that after a publish or restart of your Azure web app it might load slowly the first time, then when you refresh with F5 it is ok again.

If you’ve ever noticed this behavior an option might be to go inside of the Application Settings for the web app in the portal, and activating Always On, which keeps your web hydrated and responsive.

According to the information icon:

Indicates that your web app needs to be loaded at all times. By default, web apps are unloaded after they have been idle. It is recommended that you enable this option when you have continuous web jobs running on the web app.

Keep in mind that you will not be able to turn this feature on when using the Free version of Azure App Services. It is only available in Basic or Standard plans.

To recap, if your app runs continuous WebJobs or runs WebJobs triggered using a CRON expression, you should enable Always On, or the web jobs may not run reliably.

It is worth giving a shot if you encounter these issues. Until next time, Michael signing off!

Want more Azure Tips and Tricks?

If you’d like to learn more Azure Tips and Tricks, then follow me on twitter or stay tuned to this blog! I’d also love to hear your tips and tricks for working in Azure, just leave a comment below.

Leave a Comment