No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
AzureJobs.Common
AzureJobs.NuGet.Shared
AzureJobs.SiteExtension.Web
AzureJobs.Web
AzureJobsTests
ImageCompressor.Job
TextMinifier.Job
packages
.gitattributes
.gitignore
AzureJobs.sln
LICENSE.md
README.md
appveyor.yml
build-main.proj
build-main.ps1
getnuget.targets
install.ps1
ligershark-helpers.psm1
shared.nuspec
shared.proj
shared.props
test.ps1

README.md

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