
Untitled
By: a guest on
Sep 19th, 2012 | syntax:
None | size: 1.76 KB | hits: 46 | expires: Never
; General settings control basic behavior of the plugin
;
; * cacheConfig - set to true to cache the parsed configuration data
; so it doesn't get parsed on each request.
;
; * alwaysEnableController - Set to true to always enable the
; AssetsController. Generally you will want to disable the controller
; in production, as it could allow an attacker to request expensive
; resources repeatedly. However, if you need the controller available
; in production. You can enable this flag.
;
[General]
writeCache = true
cacheConfig = false
alwaysEnableController = false
; Define an extension type.
;
; _filters, _targets and other keys prefixed with this value
; are connected when the ini file is parsed.
;
; * cachePath - is where built files will be output
; * timestamp - Set to true to add a timestamp to build files.
; * paths - An array of paths where files used in builds can be found
; Supports glob expressions.
; * filters - A list of filters to be applied to all build files
; using this extension.
; * baseUrl - Set the base url this type of asset is served off of, good
; for using with CDN's
[js]
;baseUrl = http://cdn.example.com
timestamp = true
paths[] = WEBROOT/js/*
cachePath = WEBROOT/cache_js
filters[] = Sprockets
filters[] = YuiJs
; Each target should have a section defining the files
; everything after js_* is considered the build file.
; all files included in the build are relative to the parent
; paths key.
;
; targets can include their own filters.
[js_libs.js]
files[] = jquery.js
;files[] = mootools.js
;files[] = class.js
filters[] = UglifyJs
; Create the CSS extension
[css]
paths[] = WEBROOT/css/*
cachePath = WEBROOT/cache_css
[css_all.css]
files[] = general.css
filters[] = CssMinFilter