HTTP:res_caching()
Checks whether or not the response has been caching. If yes, then it checks whether it is regular cache or dynamic cache.
Syntax
HTTP:res_caching();
Arguments
N/A
Events
Applicable in HTTP_RESPONSE.
Example
when HTTP_RESPONSE {
id = HTTP:res_caching();
if id then
debug("HTTP:res_caching() response caching with id %s !!!!\n", id);
else
debug("HTTP:res_caching() response NOT caching\n");
end
}
Supported Version
FortiADC version 5.3.x and later.