EO-Debug-Headers: allheader in the request, and view whether the resource is cached in the node, the corresponding Cache Key value, and cache time based on the returned response headers.
www.example.comunder the current site
example.comhas been configured to cache
.jpgsuffix files in EdgeOne nodes for 600 seconds; the cache Cache Key is configured to retain the specified parameter a as the cache key. After the configuration is completed, you need to verify whether the current configuration has taken effect, and you can follow the steps below to verify:
curl -voa 'http://www.example.com/test.jpg?a=1' -H 'EO-Debug-Headers: all'。The request result is as follows：
Meaning of the returned value
Indicates whether the self-service debugging mode is enabled.
on: activated, and the request client IP is within the allowlist & the request time is within the validity period;
off: Off, or activated but the request time is beyond the validity period;
forbidden: activated, but the request client IP is not in the allowlist.
The Request URL of this request, according to the configured EdgeOne node cache TTL, the final cacheable status of the Request URL resource in EdgeOne nodes.
no: non-cacheable content
The Request URL of this request, according to the custom Cache key, the final Cache key generated for the Request URL resource in EdgeOne nodes.
The Request URL of this request, according to the configured EdgeOne node cache TTL, the final cache TTL duration of the Request URL resource in EdgeOne nodes.
List values, including numbers and time units. d stands for days, h stands for hours, m stands for minutes, and s stands for seconds, for example:
3d0h0m0s means the cache TTL is 3 days;
0d0h5m0s means the cache is 5 minutes;
0d0h0m5s means the cache is 5 seconds.