Abstract


Content-Type


Example

With content-type: application/pdf, browser is able to open an in-browser pdf reader

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

Example

With cache-control: public, max-age=7200, must-revalidate, the client must re-fetch a new copy from the server after 7200 seconds