Windows Version

Support

Path Specific Attributes

These attributes are available on the root wax:configuration element, or on any add element in the rules section. Settings defined on the root element apply at all locations, unless there is a path specific rule that overrides one or more attributes.

Here is an example rule on which any of these attributes may appear to override the global settings:

<rules>

<add path=”/images/” matchType=”Contains” action=”Include” />

</rules>

CSS

combineStyleSheets [optional]

None - StyleSheet links within the page will not be be combined [default]

Consecutive – StyleSheet references that appear consecutively will be combined into sets

All – All StyleSheet references within the page will be combined into a single set

shrinkCss: [optional]

True - The Website Accelerator will remove whitespace and comments from StyleSheets.

False - Whitespace and comments in StyleSheets will be preserved. Note: a value of false will prevent StyleSheets from being combined. [default]

inlineCssImages [optional]

True - Images that are referenced in CSS stylesheets will be converted to inline images

False - Images that are referenced in CSS stylesheets will be left as is [default]

maxInlineImageSize: [optional]

The maximum allowable size of base64 encoded image data in CSS expressed as an integer [default = 1200]

asyncStyleSheetLoading [optional]

True  -  Stylesheets will be loaded asynchronously via dynamic node injection

False -  StyleSheets will be referenced using the link tag [default]

Images

combineImages: [optional]  

All – HTML image references that appear within the page will be combined

None – HTML images will not be combined [default]

shrinkImages [optional]

True – JPEG images will be resampled according to the jpegImageQuality setting

False – Images will remain unmodified[default]

jpegImageQuality: [optional]

An integer number between 1 and 100 specifying the quality of the JPEG images. [default = 85]

convertGifToPng [optional]

True – GIF images that are combined are converted to PNG24 image format

False – GIF images that are combined remain in GIF image format [default]

Compression

httpCompression: [optional]

Off - Compression will be disabled for HTML pages and other resources such as Scripts and StyleSheets even if the browser supports it. [default]

Fastest – The fastest compression method will be used, and files will be slightly larger.

Smallest – The compression method resulting in the smallest file size will be used.

compressableMimeTypes: [optional]

A pipe separated list of mime types that the WAX should treat as compressable.

[default = text/css | text/javascript | application/x-javascript | image/gif | image/png | image/jpeg | image/jpg | image/bmp | image/x-icon | application/x-shockwave-flash]

JavaScript

combineBodyScripts: [optional]

None - No script references within the body section of the page will be combined.[default]

Consecutive - Script references that appear consecutively will be grouped into a combined resource.

All - All script references within the body section of the page will be combined into a single combined resource.

bodyScriptInsertionPoint: [optional]

HeadStart - Inserts all scripts found in the body of the page into the head section immediately following the head tag.

HeadFirstScript - Inserts all scripts found in the body of the page into the head section at the position of the first script found.

HeadLastScript - Inserts all scripts found in the body of the page into the head section at the position of the last script found.

HeadEnd - Inserts all scripts found in the body of the page into the head section immediately before the closing head tag.

BodyStart - Inserts all scripts found in the body of the page into the body section immediately following the body tag.

BodyFirstScript - Inserts all scripts found in the body of the page into the body section at the position of the first script found. [default]

BodyLastScript - Inserts all scripts found in the body of the page into the body section at the position of the last script found.

BodyEnd - Inserts all scripts found in the body of the page into the body section immediately before the closing body tag.

headScriptInsertionPoint: [optional]

HeadStart - Inserts all scripts found in the head of the page into the head section immediately following the head tag.

HeadFirstScript - Inserts all scripts found in the head of the page into the head section at the position of the first script found.

HeadLastScript - Inserts all scripts found in the head of the page into the head section at the position of the last script found.

HeadEnd - Inserts all scripts found in the head of the page into the head section immediately before the closing head tag.

BodyStart - Inserts all scripts found in the head of the page into the body section immediately following the body tag.

BodyFirstScript - Inserts all scripts found in the head of the page into the body section at the position of the first script found. [default]

BodyLastScript - Inserts all scripts found in the head of the page into the body section at the position of the last script found.

BodyEnd - Inserts all scripts found in the head of the page into the body section immediately before the closing body tag.

Note: To combine all scripts in the page into a single resource, set the headScriptInsertionPoint to the same value as bodyScriptInsertionPoint, and ensure combineHeadScripts and combineBodyScripts are set to All.

shrinkScripts: [optional]

True - The Website Accelerator will remove all whitespace and comments from scripts.

False - Whitespace and comments in script files will be preserved. [default]

asyncScriptLoading [optional]

True - JavaScript files will be loaded asynchronously via dynamic node injection.

False - JavaScript files will be loaded using a script tag. [default]

proxyCacheable [optional]

True - Combined resource sets will be marked as cache-control: public

False - Resources will be marked as cache-control: private