Checking HTTP headers returned from website

If you want to check your headers returned on your website (perhaps if you are optimising your site using Google Lighthouse) – use CURL


Run this from the cmd prompt. It will return the whole website page – so redirect the output to a file to just see the header:

CURL -v >

This will output your website page to a file but show the header info on the screen. Check the headers for things like 'cache-control', HTTP/x version, Compression, etc.