Phoenix.Digester

Digests and compress static files.

For each file under the given input path, Phoenix will generate a digest and also compress in .gz format. The filename and its digest will be used to generate the manifest file. It also avoid duplications checking for already digested files.

Source

Summary

compile(input_path, output_path)

Digests and compresses the static files and saves them in the given output path

Functions

compile(input_path, output_path)

Specs:

Digests and compresses the static files and saves them in the given output path.

  • input_path - The path where the assets are located
  • output_path - The path where the compiled/compressed files will be saved
Source