HTTP Headers to Prevent Caching [Curl/Bash Code]

The correct minimum set of HTTP headers to prevent caching that works across all servers and proxies. The Curl/Bash code was automatically generated for the HTTP Headers Prevent Caching example.
HTTP Headers to Prevent Caching [Curl/Bash Code] Send
GET /echo HTTP/1.1
Host: reqbin.com
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: 0

Updated: Viewed: 7778 times
Curl/Bash code for HTTP Headers Prevent Caching example

Curl/Bash code for HTTP Headers Prevent Caching Example

This Curl/Bash code snippet was generated automatically for the HTTP Headers Prevent Caching example.
<< Back to the HTTP Headers Prevent Caching example

Generate code snippets for Curl/Bash and other programming languages

Convert your HTTP Headers Prevent Caching request to the PHP, JavaScript/AJAX, Curl/Bash, Python, Java, C#/.NET code snippets using the Curl/Bash code generator.