__________.__ ___________.__ .__ .__
\______ \ |__ ______\_ _____/| | |__|__ __|__|______
| ___/ | \\____ \| __)_ | | | \ \/ / \_ __ \
| | | Y \ |_> > \| |_| |> <| || | \/
|____| |___| / __/_______ /|____/__/__/\_ \__||__|
\/|__| \/ \/
Revision Module
Provides the ability to revision specified folders and generate a manifest.
Revision
Provides revisioning of files in a specified folder location.
Options that are available:
- hash - default is
sha256
- hash_length - default is no change to the hash string
- minify - default is
false
.
- minify_cache - default is
true
. Reduces secondary use by 30+ seconds.
- php_manifest - default is
false
. Generates a php equivalent of the json revision file.
{SOURCE_FOLDER}:
- {DESTINATION_FOLDER}
- {REVISION_MANIFEST_FILE}
- {QUERY_STRING_OPTIONS}
revision:
PATH_PUBLIC_ASSETS:
- PATH_PUBLIC_BUILD
- PATH_PUBLIC_BUILD + /rev-manifest.json
- hash_length=12&minify=true&php_manifest=true