config load-balance pagespeed-profile
Use this command to specify the resources that will be handled by PageSpeed.
Syntax
config load-balance pagespeed-profile
edit <name>
set html enable/disable
set css enable/disable
set image enable/disable
set combine-css enable/disable
set max-combine-css-byte <1-10240>
set jpeg-sampling enable/disable
set resize-image enable/disable
set move-css-to-head enable/disable
next
end
Parameter | Description |
html
|
Enable/disable HTML optimizer. |
move-css-to-head
|
Moves CSS elements above the script tags. |
css
|
Enable/disable CSS optimizer. |
combine-css
|
Combines multiple CSS elements into one. |
max-combine-css-byte
Image
|
The maximum number of combined CSS bytes. |
jpeg-sampling
|
Reduces the color sampling of .jpeg images to 4:2:0. |
resize-image
|
Resizes images when the corresponding img tag specifies a smaller width and height. |
Example:
config load-balance pagespeed-profile
edit "all"
set html enable
set css enable
set image enable
set combine-css enable
set max-combine-css-byte 4096
set jpeg-sampling disable
set resize-image enable
set move-css-to-head enable
next
end