I’m currently working on a project where we want to use the WebJobs feature of Azure Websites. Azure WebJobs enables you to run programs or scripts in your web site either continuously, on demand or on a schedule.
While investigating the possibilities of WebJobs I stumbled over 2 great usages of WebJobs:
- Azure Image Optimizer: This will compress images on your website when running in Azure Web Sites.
- Azure Minifier: This will minify your .css and .js files on your website when running in Azure Web Sites.
Just install the NuGet packages and the WebJobs will be deployed together with your website.
For more information have a look at the following blog post: http://madskristensen.net/post/automatic-optimization-of-images-css-and-javascript