HTTP Headers for the Responsible Developer
To build inclusive websites, developers have to consider accessibility, performance and user flows. Crafted source code forms the foundation for thought-through UIs, but it’s not only about the code. Let’s have a look at HTTP, and to be specific, its headers that can have a direct impact on user experience.
Most of these are HTTP Header updates to help with better security and performance.
Key points:
- CSP (Content Security Policy)
- HTTPS HSTS
- SameDomain cookies
- Feature Policy
- Accept (image/webp)
- Accept CH (Accept Content Hints)