feo action¶
The following operations can be performed on "feo action":
add feo action¶
Create a front end optimization action.
Synopsys¶
add feo action <name> [-pageExtendCache] [-imgShrinkToAttrib] [-imgGifToPng] [-imgInline] [-cssImgInline] [-jpgOptimize] [-imgLazyLoad] [-cssMinify] [-cssInline] [-cssCombine] [-convertImportToLink] [-jsMinify] [-jsInline] [-htmlMinify] [-cssMoveToHead] [-jsMoveToEND] [-domainSharding <string> <dnsShards> ...] [-clientSideMeasurements]
Arguments¶
name
The name of the front end optimization action.
pageExtendCache
Extend the time period during which the browser can use the cached resource.
imgShrinkToAttrib
Shrink image dimensions as per the height and width attributes specified in the <img> tag.
imgGifToPng
Convert GIF image formats to PNG formats.
imgInline
Inline images whose size is less than 2KB.
cssImgInline
Inline small images (less than 2KB) referred within CSS files as background-URLs
jpgOptimize
Remove non-image data such as comments from JPEG images.
imgLazyLoad
Download images, only when the user scrolls the page to view them.
cssMinify
Remove comments and whitespaces from CSSs.
cssInline
Inline CSS files, whose size is less than 2KB, within the main page.
cssCombine
Combine one or more CSS files into one file.
convertImportToLink
Convert CSS import statements to HTML link tags.
jsMinify
Remove comments and whitespaces from JavaScript.
jsInline
Convert linked JavaScript files (less than 2KB) to inline JavaScript files.
htmlMinify
Remove comments and whitespaces from an HTML page.
cssMoveToHead
Move any CSS file present within the body tag of an HTML page to the head tag.
jsMoveToEND
Move any JavaScript present in the body tag to the end of the body tag.
domainSharding
Domain name of the server
clientSideMeasurements
Collect the amount of time required for the client to load and render the web page.
set feo action¶
Modify a front end optimization action.
Synopsys¶
set feo action <name> [-pageExtendCache] [-imgShrinkToAttrib] [-imgGifToPng] [-imgInline] [-cssImgInline] [-jpgOptimize] [-imgLazyLoad] [-cssMinify] [-cssInline] [-cssCombine] [-convertImportToLink] [-jsMinify] [-jsInline] [-htmlMinify] [-cssMoveToHead] [-jsMoveToEND] [-domainSharding <string> <dnsShards> ...] [-clientSideMeasurements]
Arguments¶
name
The name of the front end optimization action.
pageExtendCache
Extend the time period during which the browser can use the cached resource.
imgShrinkToAttrib
Shrink image dimensions as per the height and width attributes specified in the <img> tag.
imgGifToPng
Convert GIF image formats to PNG formats.
imgInline
Inline images whose size is less than 2KB.
cssImgInline
Inline small images (less than 2KB) referred within CSS files as background-URLs
jpgOptimize
Remove non-image data such as comments from JPEG images.
imgLazyLoad
Download images, only when the user scrolls the page to view them.
cssMinify
Remove comments and whitespaces from CSSs.
cssInline
Inline CSS files, whose size is less than 2KB, within the main page.
cssCombine
Combine one or more CSS files into one file.
convertImportToLink
Convert CSS import statements to HTML link tags.
jsMinify
Remove comments and whitespaces from JavaScript.
jsInline
Convert linked JavaScript files (less than 2KB) to inline JavaScript files.
htmlMinify
Remove comments and whitespaces from an HTML page.
cssMoveToHead
Move any CSS file present within the body tag of an HTML page to the head tag.
jsMoveToEND
Move any JavaScript present in the body tag to the end of the body tag.
domainSharding
Domain name of the server
clientSideMeasurements
Collect the amount of time required for the client to load and render the web page.
unset feo action¶
Modify a front end optimization action..Refer to the set feo action command for meanings of the arguments.
Synopsys¶
unset feo action <name> [-pageExtendCache] [-imgShrinkToAttrib] [-imgGifToPng] [-imgInline] [-cssImgInline] [-jpgOptimize] [-imgLazyLoad] [-cssMinify] [-cssInline] [-cssCombine] [-convertImportToLink] [-jsMinify] [-jsInline] [-htmlMinify] [-cssMoveToHead] [-jsMoveToEND] [-clientSideMeasurements] [-domainSharding]
rm feo action¶
Remove the specified front end optimization action.
Synopsys¶
rm feo action <name>
Arguments¶
name
The name of the front end optimization action.
show feo action¶
Display the front end optimization actions defined, including the built-in actions.
Synopsys¶
show feo action [<name>]
Arguments¶
name
The name of the front end optimization action.
summary
fullValues
format
level
Outputs¶
stateflag
pageExtendCache
Extend the time period during which the browser can use the cached resource.
imgShrinkToAttrib
Shrink image dimensions as per the height and width attributes specified in the <img> tag.
imgGifToPng
Convert GIF image formats to PNG formats.
imgAddDimensions
Add dimension attributes to images, if not specified within the <img> tag.
imgShrinkForMobile
Serve smaller images for mobile users.
imgWeaken
Reduce the image quality.
imgInline
Inline images whose size is less than 2KB.
cssImgInline
Inline small images (less than 2KB) referred within CSS files as background-URLs
jpgOptimize
Remove non-image data such as comments from JPEG images.
jpgProgressive
Convert JPEG image formats to progressive formats.
imgLazyLoad
Download images, only when the user scrolls the page to view them.
cssMinify
Remove comments and whitespaces from CSSs.
cssInline
Inline CSS files, whose size is less than 2KB, within the main page.
cssCombine
Combine one or more CSS files into one file.
cssFlattenImports
Replace CSS import statements with the file content.
convertImportToLink
Convert CSS import statements to HTML link tags.
jsMinify
Remove comments and whitespaces from JavaScript.
jsInline
Convert linked JavaScript files (less than 2KB) to inline JavaScript files.
jsCombine
Combine one or more JavaScript files into one file.
htmlMinify
Remove comments and whitespaces from an HTML page.
htmlRmDefaultAttribs
Remove default redundant attributes from an HTML file.
htmlRmAttribQuotes
Remove unnecessary quotes present within the HTML attributes.
htmlTrimUrls
Trim URLs.
cssMoveToHead
Move any CSS file present within the body tag of an HTML page to the head tag.
jsMoveToEND
Move any JavaScript present in the body tag to the end of the body tag.
domainSharding
Domain name of the server
dnsShards
Set of domain names that replaces the parent domain.
clientSideMeasurements
Collect the amount of time required for the client to load and render the web page.
hits
The number of times the action has been taken.
undefHits
Total number of undefined policy hits.
builtin
Flag to determine if front end optimization action is built-in or not.
devno
count