Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.33 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.33 KB

Azure Webjobs and Site Extensions

Build status

This is home of a few Azure Webjobs and matching Site Extensions.

Image Optimizer

Optimizes all images in your website included images uploaded by the users.

Deploy manually: NuGet package
Deploy automatically: Azure Site Extension

Text Minifier

Minifies all .css and .js files in your website. It doesn't touch already minified files.

Deploy manually: NuGet package
Deploy automatically: Azure Site Extension

Configuration

By default, the Image Optimizer and Text Minifier WebJobs automatically process any files and folders in *D:\home\site\wwwroot*

If you wish to change the paths, you can override them by adding the following keys to you App Settings in the Azure Portal and setting their values to the appropriate paths:

  • AZURE_MINIFIER_PATH
  • AZURE_IMAGE_OPTIMIZER_PATH

An example of this is as follows:

Azure App Settings