HTTP:cache_user_key(t)
Replaces the default key (the URI) with any customized key.
Syntax
HTTP:cache_user_key(t);
Arguments
| Name | Description |
|---|---|
|
t |
A table which specifies the caching URI. |
Events
Applicable in HTTP_REQUEST.
Example
when HTTP_REQUEST {
url = HTTP:uri_get()
new_url = url.."external";
t={};
t["uri"] = new_url
HTTP:cache_user_key(t)
}
Supported Version
FortiADC version 5.3.x and later.