rfq

Cloudflare Headers

rfq
Oct 15th, 2024
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. CF-Cache-Status
  2. Purpose: Indicates the caching status of the request on Cloudflare’s CDN.
  3. Values:
  4. - `HIT`: The resource was served from Cloudflare’s cache.
  5. - `MISS`: The resource was not in the cache, so it was fetched from the origin server.
  6. - `EXPIRED`: The cached resource was expired and revalidated with the origin server.
  7. - `DYNAMIC`: The resource was not cached by Cloudflare due to its dynamic nature.
  8.  
  9. ---
  10.  
  11. CF-RAY
  12. Purpose: A unique ID for the request generated by Cloudflare’s network. It can be used to track and troubleshoot individual requests.
  13. Value: Contains an alphanumeric string, typically used for debugging purposes.
  14.  
  15. ---
  16.  
  17. CF-Request-ID
  18. Purpose: Similar to `CF-RAY`, it helps trace and track individual HTTP requests.
  19.  
  20. ---
  21.  
  22. CF-Connecting-IP
  23. Purpose: Represents the original IP address of the client connecting through Cloudflare. This is useful because Cloudflare acts as a reverse proxy, so the actual client IP can otherwise be masked.
  24. Value: The original client's IP address.
  25.  
  26. ---
  27.  
  28. CF-Visitor
  29. Purpose: Provides information about the visitor’s browser and device settings.
  30. Value: Typically includes JSON-encoded data such as the visitor's protocol (e.g., `"scheme":"https"`).
  31.  
  32. ---
  33.  
  34. CF-Ipcountry
  35. Purpose: Identifies the country from which the client request originated.
  36. Value: A two-letter country code (e.g., `US`, `ID`).
  37.  
  38. ---
  39.  
  40. CF-Bgj
  41. Purpose: Indicates Cloudflare’s use of Brotli compression for the response, which is a modern and more efficient compression algorithm than Gzip.
  42. Value: Set when Brotli compression is applied to the response.
  43.  
  44. ---
  45.  
  46. CF-Polished
  47. Purpose: Relates to Cloudflare’s image optimization feature called Polish, which reduces image size for faster delivery.
  48. Values:
  49. - `lossy`: The image was compressed with lossy compression.
  50. - `lossless`: The image was compressed with lossless compression.
  51. - `off`: Image optimization was not applied.
  52.  
  53. ---
  54.  
  55. CF-RocketLoader
  56. Purpose: Tells whether Rocket Loader, Cloudflare's feature for improving page load times by deferring JavaScript loading, was applied.
  57. Value: Typically either `active` or absent if not enabled.
  58.  
  59. ---
  60.  
  61. CF-Worker
  62. Purpose: Indicates whether the request passed through a Cloudflare Worker, which is a serverless computing service offered by Cloudflare.
  63. Value: Specifies the ID of the Worker that processed the request.
  64.  
  65.  
Advertisement
Add Comment
Please, Sign In to add comment