Make my host serve pages faster
Compression and caching headers, set up for this server.
My site is <stack> on <host>. I want pages to load faster without changing hosts. Set up, for this host's web server: - Compression for HTML, CSS, JavaScript and SVG. - Long cache lifetimes for files whose names change when their content does, and no caching for HTML. - Whether this host has a built-in cache or CDN I should switch on. - Anything in my app that stops caching from working, like cookies set on every response. Give me the exact configuration for this server, and how to check the headers each response actually sends.
Check the response headers, not the page speed score. A single wrong Cache-Control header can undo everything else you set.