ligershark / AzureJobs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:Other


Languages

Language:C# 57.3%Language:PowerShell 31.5%Language:ASP 6.1%Language:CSS 4.0%Language:Batchfile 1.0%