-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
videooptimizationdetectionpolicylabel_videooptimizationdetectionpolicy_binding
-
videooptimizationdetectionpolicy_videooptimizationglobaldetection_binding
-
videooptimizationglobaldetection_videooptimizationdetectionpolicy_binding
-
videooptimizationglobalpacing_videooptimizationpacingpolicy_binding
-
videooptimizationpacingpolicylabel_videooptimizationpacingpolicy_binding
-
videooptimizationpacingpolicy_videooptimizationglobalpacing_binding
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
feoaction
Configuration for Front end optimization action resource.
Properties
(click to see Operations )
Name | Data Type | Permissions | Description |
---|---|---|---|
name |
|
Read-write | The name of the front end optimization action.
Minimum length = 1 |
pageextendcache |
|
Read-write | Extend the time period during which the browser can use the cached resource. |
cachemaxage |
|
Read-write | Maxage for cache extension.
Default value: 30 Minimum value = 0 Maximum value = 360 |
imgshrinktoattrib |
|
Read-write | Shrink image dimensions as per the height and width attributes specified in the |
imggiftopng |
|
Read-write | Convert GIF image formats to PNG formats. |
imgtowebp |
|
Read-write | Convert JPEG, GIF, PNG image formats to WEBP format. |
imgtojpegxr |
|
Read-write | Convert JPEG, GIF, PNG image formats to JXR format. |
imginline |
|
Read-write | Inline images whose size is less than 2KB. |
cssimginline |
|
Read-write | Inline small images (less than 2KB) referred within CSS files as background-URLs. |
jpgoptimize |
|
Read-write | Remove non-image data such as comments from JPEG images. |
imglazyload |
|
Read-write | Download images, only when the user scrolls the page to view them. |
cssminify |
|
Read-write | Remove comments and whitespaces from CSSs. |
cssinline |
|
Read-write | Inline CSS files, whose size is less than 2KB, within the main page. |
csscombine |
|
Read-write | Combine one or more CSS files into one file. |
convertimporttolink |
|
Read-write | Convert CSS import statements to HTML link tags. |
jsminify |
|
Read-write | Remove comments and whitespaces from JavaScript. |
jsinline |
|
Read-write | Convert linked JavaScript files (less than 2KB) to inline JavaScript files. |
htmlminify |
|
Read-write | Remove comments and whitespaces from an HTML page. |
cssmovetohead |
|
Read-write | Move any CSS file present within the body tag of an HTML page to the head tag. |
jsmovetoend |
|
Read-write | Move any JavaScript present in the body tag to the end of the body tag. |
domainsharding |
|
Read-write | Domain name of the server. |
dnsshards | <String[]> | Read-write | Set of domain names that replaces the parent domain. |
clientsidemeasurements |
|
Read-write | Send AppFlow records about the web pages optimized by this action. The records provide FEO statistics, such as the number of HTTP requests that have been reduced for this page. You must enable the Appflow feature before enabling this parameter. |
imgadddimensions |
|
Read-only | Add dimension attributes to images, if not specified within the |
imgshrinkformobile |
|
Read-only | Serve smaller images for mobile users. |
imgweaken |
|
Read-only | Reduce the image quality. |
jpgprogressive |
|
Read-only | Convert JPEG image formats to progressive formats. |
cssflattenimports |
|
Read-only | Replace CSS import statements with the file content. |
jscombine |
|
Read-only | Combine one or more JavaScript files into one file. |
htmlrmdefaultattribs |
|
Read-only | Remove default redundant attributes from an HTML file. |
htmlrmattribquotes |
|
Read-only | Remove unnecessary quotes present within the HTML attributes. |
htmltrimurls |
|
Read-only | Trim URLs. |
hits |
|
Read-only | The number of times the action has been taken. |
undefhits |
|
Read-only | Total number of undefined policy hits. |
builtin | <String[]> | Read-only | Flag to determine if front end optimization action is built-in or not.
Possible values = MODIFIABLE, DELETABLE, IMMUTABLE, PARTITION_ALL |
feature |
|
Read-only | The feature to be checked while applying this config. |
__count |
|
Read-only | count parameter |
Operations
(click to see Properties )
- ADD
- UPDATE
- UNSET
- DELETE
- GET (ALL)
- GET
- COUNT
Some options that you can use for each operations:
-
Getting warnings in response: NITRO allows you to get warnings in an operation by specifying the 'warning' query parameter as 'yes'. For example, to get warnings while connecting to the NetScaler appliance, the URL is as follows:
http:// <netscaler-ip-address> /nitro/v1/config/login?warning=yes
If any, the warnings are displayed in the response payload with the HTTP code '209 X-NITRO-WARNING'.
-
Authenticated access for individual NITRO operations: NITRO allows you to logon to the NetScaler appliance to perform individual operations. You can use this option instead of creating a NITRO session (using the login object) and then using that session to perform all operations,
To do this, you must specify the username and password in the request header of the NITRO request as follows:
X-NITRO-USER: <username>
X-NITRO-PASS: <password>
Note: In such cases, make sure that the request header DOES not include the following:
Cookie:NITRO_AUTH_TOKEN= <tokenvalue>
*Note:
*
Mandatory parameters are marked in
red
and placeholder content is marked in
green
add
URL: http:// <netscaler-ip-address> /nitro/v1/config/feoaction HTTP Method: POST
Request Headers:
Cookie:NITRO_AUTH_TOKEN= <tokenvalue>
Content-Type:application/json
Request Payload:
{"feoaction":{
<b>"name":<String_value>,
</b>"pageextendcache":<Boolean_value>,
"cachemaxage":<Double_value>,
"imgshrinktoattrib":<Boolean_value>,
"imggiftopng":<Boolean_value>,
"imgtowebp":<Boolean_value>,
"imgtojpegxr":<Boolean_value>,
"imginline":<Boolean_value>,
"cssimginline":<Boolean_value>,
"jpgoptimize":<Boolean_value>,
"imglazyload":<Boolean_value>,
"cssminify":<Boolean_value>,
"cssinline":<Boolean_value>,
"csscombine":<Boolean_value>,
"convertimporttolink":<Boolean_value>,
"jsminify":<Boolean_value>,
"jsinline":<Boolean_value>,
"htmlminify":<Boolean_value>,
"cssmovetohead":<Boolean_value>,
"jsmovetoend":<Boolean_value>,
"domainsharding":<String_value>,
"dnsshards":<String[]_value>,
"clientsidemeasurements":<Boolean_value>
}}
<!--NeedCopy-->
Response: HTTP Status Code on Success: 201 Created
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error
update
URL: http:// <netscaler-ip-address> /nitro/v1/config/feoaction HTTP Method: PUT
Request Headers:
Cookie:NITRO_AUTH_TOKEN= <tokenvalue>
Content-Type:application/json
Request Payload:
{"feoaction":{
<b>"name":<String_value>,
</b>"pageextendcache":<Boolean_value>,
"cachemaxage":<Double_value>,
"imgshrinktoattrib":<Boolean_value>,
"imggiftopng":<Boolean_value>,
"imgtowebp":<Boolean_value>,
"imgtojpegxr":<Boolean_value>,
"imginline":<Boolean_value>,
"cssimginline":<Boolean_value>,
"jpgoptimize":<Boolean_value>,
"imglazyload":<Boolean_value>,
"cssminify":<Boolean_value>,
"cssinline":<Boolean_value>,
"csscombine":<Boolean_value>,
"convertimporttolink":<Boolean_value>,
"jsminify":<Boolean_value>,
"jsinline":<Boolean_value>,
"htmlminify":<Boolean_value>,
"cssmovetohead":<Boolean_value>,
"jsmovetoend":<Boolean_value>,
"domainsharding":<String_value>,
"dnsshards":<String[]_value>,
"clientsidemeasurements":<Boolean_value>
}}
<!--NeedCopy-->
Response: HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error
unset
URL: http:// <netscaler-ip-address> /nitro/v1/config/feoaction? action=unset HTTP Method: POST
Request Headers:
Cookie:NITRO_AUTH_TOKEN= <tokenvalue>
Content-Type:application/json
Request Payload:
{"feoaction":{
<b>"name":<String_value>,
</b>"pageextendcache":true,
"imgshrinktoattrib":true,
"imggiftopng":true,
"imgtowebp":true,
"imgtojpegxr":true,
"imginline":true,
"cssimginline":true,
"jpgoptimize":true,
"imglazyload":true,
"cssminify":true,
"cssinline":true,
"csscombine":true,
"convertimporttolink":true,
"jsminify":true,
"jsinline":true,
"htmlminify":true,
"cssmovetohead":true,
"jsmovetoend":true,
"clientsidemeasurements":true,
"domainsharding":true
}}
<!--NeedCopy-->
Response: HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error
delete
URL: http:// <netscaler-ip-address> /nitro/v1/config/feoaction/ name_value<String> HTTP Method: DELETE
Request Headers:
Cookie:NITRO_AUTH_TOKEN= <tokenvalue>
Response: HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error
get (all)
URL: http:// <netscaler-ip-address> /nitro/v1/config/feoaction Query-parameters: attrs http:// <netscaler-ip-address> /nitro/v1/config/feoaction? attrs=property-name1,property-name2
Use this query parameter to specify the resource details that you want to retrieve.
filter http:// <netscaler-ip-address> /nitro/v1/config/feoaction? filter=property-name1:property-val1,property-name2:property-val2
Use this query-parameter to get the filtered set of feoaction resources configured on NetScaler.Filtering can be done on any of the properties of the resource.
view http:// <netscaler-ip-address> /nitro/v1/config/feoaction? view=summary
Use this query-parameter to get the summary output of feoaction resources configured on NetScaler.
Note: By default, the retrieved results are displayed in detail view (?view=detail).
pagination http:// <netscaler-ip-address> /nitro/v1/config/feoaction? pagesize=#no;pageno=#no
Use this query-parameter to get the feoaction resources in chunks.
HTTP Method: GET
Request Headers:
Cookie:NITRO_AUTH_TOKEN= <tokenvalue>
Accept:application/json
Response: HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error
Response Header:
Content-Type:application/json
Response Payload:
{ "feoaction": [ {
"name":<String_value>,
"pageextendcache":<Boolean_value>,
"cachemaxage":<Double_value>,
"imgshrinktoattrib":<Boolean_value>,
"imggiftopng":<Boolean_value>,
"imgtowebp":<Boolean_value>,
"imgtojpegxr":<Boolean_value>,
"imgadddimensions":<Boolean_value>,
"imgshrinkformobile":<Boolean_value>,
"imgweaken":<Boolean_value>,
"imginline":<Boolean_value>,
"cssimginline":<Boolean_value>,
"jpgoptimize":<Boolean_value>,
"jpgprogressive":<Boolean_value>,
"imglazyload":<Boolean_value>,
"cssminify":<Boolean_value>,
"cssinline":<Boolean_value>,
"csscombine":<Boolean_value>,
"cssflattenimports":<Boolean_value>,
"convertimporttolink":<Boolean_value>,
"jsminify":<Boolean_value>,
"jsinline":<Boolean_value>,
"jscombine":<Boolean_value>,
"htmlminify":<Boolean_value>,
"htmlrmdefaultattribs":<Boolean_value>,
"htmlrmattribquotes":<Boolean_value>,
"htmltrimurls":<Boolean_value>,
"cssmovetohead":<Boolean_value>,
"jsmovetoend":<Boolean_value>,
"domainsharding":<String_value>,
"dnsshards":<String[]_value>,
"clientsidemeasurements":<Boolean_value>,
"hits":<Double_value>,
"undefhits":<Double_value>,
"builtin":<String[]_value>,
"feature":<String_value>
}]}
<!--NeedCopy-->
get
URL: http:// <netscaler-ip-address> /nitro/v1/config/feoaction/ name_value<String> Query-parameters: attrs http:// <netscaler-ip-address> /nitro/v1/config/feoaction/ name_value<String> ? attrs=property-name1,property-name2
Use this query parameter to specify the resource details that you want to retrieve.
view http:// <netscaler-ip-address> /nitro/v1/config/feoaction/ name_value<String> ? view=summary
Use this query-parameter to get the summary output of feoaction resources configured on NetScaler.
Note: By default, the retrieved results are displayed in detail view (?view=detail).
HTTP Method: GET
Request Headers:
Cookie:NITRO_AUTH_TOKEN= <tokenvalue>
Accept:application/json
Response: HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error
Response Header:
Content-Type:application/json
Response Payload:
{ "feoaction": [ {
"name":<String_value>,
"pageextendcache":<Boolean_value>,
"cachemaxage":<Double_value>,
"imgshrinktoattrib":<Boolean_value>,
"imggiftopng":<Boolean_value>,
"imgtowebp":<Boolean_value>,
"imgtojpegxr":<Boolean_value>,
"imgadddimensions":<Boolean_value>,
"imgshrinkformobile":<Boolean_value>,
"imgweaken":<Boolean_value>,
"imginline":<Boolean_value>,
"cssimginline":<Boolean_value>,
"jpgoptimize":<Boolean_value>,
"jpgprogressive":<Boolean_value>,
"imglazyload":<Boolean_value>,
"cssminify":<Boolean_value>,
"cssinline":<Boolean_value>,
"csscombine":<Boolean_value>,
"cssflattenimports":<Boolean_value>,
"convertimporttolink":<Boolean_value>,
"jsminify":<Boolean_value>,
"jsinline":<Boolean_value>,
"jscombine":<Boolean_value>,
"htmlminify":<Boolean_value>,
"htmlrmdefaultattribs":<Boolean_value>,
"htmlrmattribquotes":<Boolean_value>,
"htmltrimurls":<Boolean_value>,
"cssmovetohead":<Boolean_value>,
"jsmovetoend":<Boolean_value>,
"domainsharding":<String_value>,
"dnsshards":<String[]_value>,
"clientsidemeasurements":<Boolean_value>,
"hits":<Double_value>,
"undefhits":<Double_value>,
"builtin":<String[]_value>,
"feature":<String_value>
}]}
<!--NeedCopy-->
count
URL: http:// <netscaler-ip-address> /nitro/v1/config/feoaction? count=yes HTTP Method: GET
Request Headers:
Cookie:NITRO_AUTH_TOKEN= <tokenvalue>
Accept:application/json
Response: HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error
Response Header:
Content-Type:application/json
Response Payload:
{ "feoaction": [ { "__count": "#no"} ] }
<!--NeedCopy-->
Share
Share
In this article
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.