Abstract
-
Contains information used for Authentication
-
And information like Cookie
-
Inspect the HTTP Headers with curl
curl -I <ENDPOINT>
- Set HTTP Header with curl
curl -H "ngrok-skip-browser-warning: anyValue" <ENDPOINT>
Content-Type
- Tells the Client the type of the Network Object, so they can be better rendered
- With the below info, the browser is able to open an in-browser pdf reader
content-type: application/pdf
Cache-Control
- Tells the Client how long it can use the cached copy of the resources (can be css and js files etc) before it fetches a new copy from Server
cache-control: public, max-age=7200, must-revalidate
- You can set adjust the this value with Cloudflare Cache Rules if you are hosting your website on Cloudflare
- If you want to apply
cache-control
to all website you have on Cloudflare. You can configure it on Cloudflare Caching Configuration