-
-
-
-
-
-
-
-
-
cacheobject
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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!
cacheobject
Configuration for cache object resource.
Properties
(click to see Operations )
Name | Data Type | Permissions | Description |
---|---|---|---|
url |
|
Read-write | URL of the particular object whose details is required. Parameter “host” must be specified along with the URL.
Minimum length = 1 |
locator |
|
Read-write | ID of the cached object. |
httpstatus |
|
Read-write | HTTP status of the object. |
host |
|
Read-write | Host name of the object. Parameter “url” must be specified.
Minimum length = 1 |
port |
|
Read-write | Host port of the object. You must also set the Host parameter.
Default value: 80 Minimum value = 1 |
groupname |
|
Read-write | Name of the content group to which the object belongs. It will display only the objects belonging to the specified content group. You must also set the Host parameter. |
httpmethod |
|
Read-write | HTTP request method that caused the object to be stored.
Default value: GET Possible values = GET, POST |
group |
|
Read-write | Name of the content group whose objects should be listed. |
ignoremarkerobjects |
|
Read-write | Ignore marker objects. Marker objects are created when a response exceeds the maximum or minimum response size for the content group or has not yet received the minimum number of hits for the content group.
Possible values = ON, OFF |
includenotreadyobjects |
|
Read-write | Include responses that have not yet reached a minimum number of hits before being cached.
Possible values = ON, OFF |
nodeid |
|
Read-write | Unique number that identifies the cluster node.
Minimum value = 0 Maximum value = 31 |
tosecondary |
|
Read-write | Object will be saved onto Secondary.
Default value: NO Possible values = YES, NO |
cacheressize |
|
Read-only | Cache response size of the object. |
cachereshdrsize |
|
Read-only | Cache response header size of the object. |
cacheetag |
|
Read-only | Cache ETag of the object. |
httpstatusoutput |
|
Read-only | HTTP status of the object. |
cachereslastmod |
|
Read-only | Value of “Last-modified” header. |
cachecontrol |
|
Read-only | Cache-Control header of the object. |
cacheresdate |
|
Read-only | Value of “Date” header. |
contentgroup |
|
Read-only | Name of the contentgroup in which it is stored. |
destipv46 |
|
Read-only | Destination IP. |
destport |
|
Read-only | Destination Port.
Range 1 - 65535 * in CLI is represented as 65535 in NITRO API |
cachecellcomplex |
|
Read-only | The state of the parameterized caching on this cell.
Possible values = YES, NO |
hitparams | <String[]> | Read-only | Parameterized hit evaluation of an object. |
hitvalues | <String[]> | Read-only | Values of hitparams for this object. |
cachecellreqtime |
|
Read-only | Required time of the cache cell object. |
cachecellrestime |
|
Read-only | Response time to the cache cell object. |
cachecurage |
|
Read-only | Current age of the cache object. |
cachecellexpires |
|
Read-only | Expiry time of the cache cell object in seconds. |
cachecellexpiresmillisec |
|
Read-only | Expiry time of the cache cell object in milliseconds. |
flushed |
|
Read-only | Specifies whether the object is flushed.
Possible values = YES, NO |
prefetch |
|
Read-only | Specifies whether Integrated Cache should attempt to refresh an object immediately before it goes stale.
Possible values = YES, NO |
prefetchperiod |
|
Read-only | The duration in seconds of the period during which prefetch should be attempted, immediately before the object’s calculated expiry time. |
prefetchperiodmillisec |
|
Read-only | The duration in milliseconds of the period during which prefetch should be attempted, immediately before the object’s calculated expiry time. |
cachecellcurreaders |
|
Read-only | Current readers of the cache cell object. |
cachecellcurmisses |
|
Read-only | Current misses of the cache cell object. |
cachecellhits |
|
Read-only | Cache cell hits. |
cachecellmisses |
|
Read-only | Cache cell misses. |
cachecelldhits |
|
Read-only | Cache cell disk hits. |
cachecellcompressionformat |
|
Read-only | Compression format of this object. Identity means not compressed. |
cachecellappfwmetadataexists |
|
Read-only | AppFirewall cache object.
Possible values = YES, NO |
cachecellhttp11 |
|
Read-only | The state of the response to be HTTP/1.1.
Possible values = YES, NO |
cachecellweaketag |
|
Read-only | The state of the weak HTTP Entity Tag in the cell.
Possible values = YES, NO |
cachecellresbadsize |
|
Read-only | The marked state of the cell.
Possible values = YES, NO |
markerreason |
|
Read-only | Reason for marking the cell.
Possible values = Waiting for min hit, Response header is too big, Content-length header said response size is not in group size limit, Content-length response received more data, Content-length response received less data, Content-length response data is not in group size limit, Chunk response received more data, Chunk response data is not in group size limit, Bad chunk format, Fin terminated response data is not in group size limit |
cachecellpolleverytime |
|
Read-only | The state to poll every time on object.
Possible values = YES, NO |
cachecelletaginserted |
|
Read-only | The state of the ETag to be inserted by IC for this object.
Possible values = YES, NO |
cachecellreadywithlastbyte |
|
Read-only | The state of the complete arrived response.
Possible values = YES, NO |
cacheinmemory |
|
Read-only | The cache data is available in memory.
Possible values = YES, NO |
cacheindisk |
|
Read-only | The cache data is available in disk.
Possible values = YES, NO |
cacheinsecondary |
|
Read-only | The cache data is available in secondary in HA deployment.
Possible values = YES, NO |
cachedirname |
|
Read-only | The directory name used if saved. |
cachefilename |
|
Read-only | The filename used if saved. |
cachecelldestipverified |
|
Read-only | The state of DNS verification.
Possible values = YES, NO |
cachecellfwpxyobj |
|
Read-only | The state of the object to be stored on a request to a forward proxy.
Possible values = YES, NO |
cachecellbasefile |
|
Read-only | The state of delta being used as a basefile.
Possible values = YES, NO |
cachecellminhitflag |
|
Read-only | The state of the minhit feature on this cell.
Possible values = YES, NO |
cachecellminhit |
|
Read-only | Min hit value for the object. |
policy |
|
Read-only | Policy info for the object. |
policyname |
|
Read-only | Policy which created the object. |
selectorname | <String[]> | Read-only | The hit selector for the object. |
rule | <String[]> | Read-only | Selectors for this object. |
selectorvalue | <String[]> | Read-only | The HTTP request method that caused the object to be stored. |
cacheurls |
|
Read-only | List of cache object URLs. |
warnbucketskip |
|
Read-only | Bucket skipped warning. |
totalobjs |
|
Read-only | Total objects. |
httpcalloutcell |
|
Read-only | Is it a http callout cell ?.
Possible values = YES, NO |
httpcalloutname |
|
Read-only | Name of the http callout. |
returntype |
|
Read-only | Return type of the http callout.
Possible values = BOOL, NUM, TEXT |
httpcalloutresult |
|
Read-only | First few bytes of http callout response. |
locatorshow |
|
Read-only | ID of the cached object. |
ceflags |
|
Read-only | Indicates state and type of cached cell. |
__count |
|
Read-only | count parameter |
Operations
(click to see Properties )
- GET (ALL)
- COUNT
- EXPIRE
- FLUSH
- SAVE
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
expire
URL: http:// <netscaler-ip-address> /nitro/v1/config/cacheobject? action=expire
HTTP Method: POST
Request Headers:
Cookie:NITRO_AUTH_TOKEN= <tokenvalue>
Content-Type:application/json
Request Payload:
{"cacheobject":{
"locator":<Double_value>,
"url":<String_value>,
"host":<String_value>,
"port":<Integer_value>,
"groupname":<String_value>,
"httpmethod":<String_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
flush
URL: http:// <netscaler-ip-address> /nitro/v1/config/cacheobject? action=flush
HTTP Method: POST
Request Headers:
Cookie:NITRO_AUTH_TOKEN= <tokenvalue>
Content-Type:application/json
Request Payload:
{"cacheobject":{
"locator":<Double_value>,
"url":<String_value>,
"host":<String_value>,
"port":<Integer_value>,
"groupname":<String_value>,
"httpmethod":<String_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
save
URL: http:// <netscaler-ip-address> /nitro/v1/config/cacheobject? action=save
HTTP Method: POST
Request Headers:
Cookie:NITRO_AUTH_TOKEN= <tokenvalue>
Content-Type:application/json
Request Payload:
{"cacheobject":{
"locator":<Double_value>,
"tosecondary":<String_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
get (all)
URL: http:// <netscaler-ip-address> /nitro/v1/config/cacheobject
Query-parameters:
args
http:// <netscaler-ip-address> /nitro/v1/config/cacheobject? args=url: <String_value> ,locator: <Double_value> ,httpstatus: <Double_value> ,host: <String_value> ,port: <Integer_value> ,groupname: <String_value> ,httpmethod: <String_value> ,group: <String_value> ,ignoremarkerobjects: <String_value> ,includenotreadyobjects: <String_value> ,nodeid: <Double_value>
Use this query-parameter to get cacheobject resources based on additional properties.
attrs
http:// <netscaler-ip-address> /nitro/v1/config/cacheobject? 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/cacheobject? filter=property-name1:property-val1,property-name2:property-val2
Use this query-parameter to get the filtered set of cacheobject resources configured on NetScaler.Filtering can be done on any of the properties of the resource.
view
http:// <netscaler-ip-address> /nitro/v1/config/cacheobject? view=summary
Use this query-parameter to get the summary output of cacheobject 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/cacheobject? pagesize=#no;pageno=#no
Use this query-parameter to get the cacheobject 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:
{ "cacheobject": [ {
url:<String_value>,locator:<Double_value>,httpstatus:<Double_value>,host:<String_value>,port:<Integer_value>,groupname:<String_value>,httpmethod:<String_value>,group:<String_value>,ignoremarkerobjects:<String_value>,includenotreadyobjects:<String_value>,nodeid:<Double_value> "cacheressize":<Double_value>,
"cachereshdrsize":<Double_value>,
"cacheetag":<String_value>,
"httpstatusoutput":<Double_value>,
"cachereslastmod":<String_value>,
"cachecontrol":<String_value>,
"cacheresdate":<String_value>,
"contentgroup":<String_value>,
"destip":<Double_value>,
"destipv46":<String_value>,
"destport":<Integer_value>,
"cachecellcomplex":<String_value>,
"hitparams":<String[]_value>,
"hitvalues":<String[]_value>,
"cachecellreqtime":<Double_value>,
"cachecellrestime":<Double_value>,
"cachecurage":<Double_value>,
"cachecellexpires":<Double_value>,
"cachecellexpiresmillisec":<Double_value>,
"flushed":<String_value>,
"prefetch":<String_value>,
"prefetchperiod":<Double_value>,
"prefetchperiodmillisec":<Double_value>,
"cachecellcurreaders":<Double_value>,
"cachecellcurmisses":<Double_value>,
"cachecellhits":<Double_value>,
"cachecellmisses":<Double_value>,
"cachecelldhits":<Double_value>,
"cachecellgzipcompressed":<String_value>,
"cachecelldeflatecompressed":<String_value>,
"cachecellcompressionformat":<String_value>,
"cachecellappfwmetadataexists":<String_value>,
"cachecellhttp11":<String_value>,
"cachecellweaketag":<String_value>,
"cachecellresbadsize":<String_value>,
"markerreason":<String_value>,
"cachecellpolleverytime":<String_value>,
"cachecelletaginserted":<String_value>,
"cachecellreadywithlastbyte":<String_value>,
"cacheinmemory":<String_value>,
"cacheindisk":<String_value>,
"cacheinsecondary":<String_value>,
"cachedirname":<String_value>,
"cachefilename":<String_value>,
"cachecelldestipverified":<String_value>,
"cachecellfwpxyobj":<String_value>,
"cachecellbasefile":<String_value>,
"cachecellminhitflag":<String_value>,
"cachecellminhit":<Integer_value>,
"policy":<Integer_value>,
"policyname":<String_value>,
"selectorname":<String[]_value>,
"rule":<String[]_value>,
"selectorvalue":<String[]_value>,
"cacheurls":<String_value>,
"warnbucketskip":<Double_value>,
"totalobjs":<Double_value>,
"httpcalloutcell":<String_value>,
"httpcalloutname":<String_value>,
"returntype":<String_value>,
"httpcalloutresult":<String_value>,
"locatorshow":<Double_value>,
"ceflags":<Double_value>
}]}
<!--NeedCopy-->
count
URL: http:// <netscaler-ip-address> /nitro/v1/config/cacheobject? 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:
{ "cacheobject": [ { "__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.