Given an array of file paths for JavaScript or CSS files, this tag will concatenate all the files into one, run it through YUI Compressor for minification, optionally GZip compress it, write the result to disk in the specified location, and return an HTML <link> or <script> tag pointing to the file. The file is named with a checksum based on the files' paths and modification dates, and the tag will look for a matching file first before doing any further processing, essentially caching the results. Requires several other tags: [shell], [yui_compress], [url_normalize], [css_normalizeurls], and [compress_gzip].
Parameters
-target
string, optional
The path to the directory where the resulting file should be written.
-usecache
boolean, optional
Whether to combine and process the files (true, default) or just return links to each of the individual files.
-refresh
boolean, optional
If true, forces the files to be processed even if a matching cached file is found. Defaults to false.
-minify
boolean, optional
Whether to run the combined file through YUI Compressor. Defaults to true.
-compress
boolean, optional
Whether to GZip compress the combined file. Defaults to false.
Click the "Download" button below to retrieve a copy of this tag,
including the complete documentation and sample usage shown
on this page. Place the downloaded ".inc" file in your
LassoStartup folder, restart Lasso, and you can begin using this
tag immediately.