VergeCloud’s X-Cache and X-Time Headers Explained

VergeCloud’s X-Cache and X-Time Headers Explained

Once VergeCloud's CDN service is activated, the system includes the x-cache and x-time headers in the responses to user requests.

What Does X-Cache Mean?

The x-cache header can have several possible values: MISS, HIT, and BYPASS.

  • MISS: The requested content isn't available in VergeCloud’s servers and is fetched directly from the website's origin server. This is typically the case for the first request made by the user from any VergeCloud PoP.
  • HIT: The content is cached on VergeCloud’s servers, and the user is receiving this cached content.
  • BYPASS: The requested content will never be cached by VergeCloud servers and will always be served directly from the website’s origin server.

If the x-cache value reads BYPASS but you want it to be cached, you can configure the page settings in the Special Rules section of the VergeCloud panel.

What Does X-Time Mean?

The x-time header shows the response time.

  • If x-cache is MISS or BYPASS, the x-time represents the response time from the origin server to VergeCloud's servers.
  • If x-cache is HIT, the x-time shows the response time from VergeCloud's servers to the user.

    • Related Articles

    • Understanding VergeCloud CDN Headers

      Intoduction When a website utilizes VergeCloud CDN for performance enhancement and security, visitor requests are directed to VergeCloud’s CDN servers instead of directly reaching the website's main server. In return, the CDN edge server sends ...
    • What is the Cache-Control Header?

      Understanding the Cache-Control Header in VergeCloud The Cache-Control header is an essential HTTP header used to manage caching behavior for content served on the web. By defining caching directives, the Cache-Control header helps optimize content ...
    • Time to Live (TTL) and DNS Record Configuration in VergeCloud User Panel

      Time to Live (TTL) Time to Live (TTL) is a fundamental parameter in the Domain Name System (DNS) that specifies the duration (in seconds) that a DNS record is allowed to be cached by a recursive resolver. Essentially, TTL determines how long DNS ...
    • Time To First Byte (TTFB).

      Understanding Time To First Byte (TTFB) TTFB stands for "Time To First Byte," referring to the time it takes from the moment a browser sends an HTTP request to a server until the first byte of data is received. This duration includes DNS lookup and ...
    • Understanding VergeCloud’s DDoS Challenge Modes

      Understanding VergeCloud’s DDoS Challenge Modes VergeCloud’s DDoS protection uses multiple layers of mitigation to protect against both network-level (Layer 3 & 4) and application-level (Layer 7) attacks. Each challenge mode handles threats ...