• 8 September 2024

Having activated the ArvanCloud CDN product, the system displays the x-cache and x-time headers in response to the users’ requests. 

What is X-Cache?

The x-cache header may have multiple values: MISS, HIT and BYPASS.

The x-cache equal to MISS signifies that the requested content has not been cached on the ArvanCloud servers, and it is retrieved directly from the website’s central server. This value at the user’s first request (from every ArvanCloud website PoPs) is MISS.

On the other hand, the x-cache equal to HIT indicates that the website content is cached on the ArvanCloud servers, and the user is receiving the cached content from the ArvanCloud servers.

The value of x-cache equals to BYPASS indicates that the requested content will never be cached on ArvanCloud Servers and will always serve from the origin server of your website.

If some pages of your website have an x-cache in the BYPASS format, but you prefer to set the values in the cached format (HIT) on the ArvanCloud servers, then you can use the Special Rules section on the ArvanCloud panel to define the pages.

What is x-time?

One of the headers sent by the ArvanCloud is x-time.

When the x-cache value is equal to MISS or BYPASS, the x-time value signifies the response time required by the origin server to respond to the ArvanCloud servers. However, if the x-cache is in the HIT format, the x-time indicates the time needed for the ArvanCloud servers to respond to the user.