DEV Community

Discussion on: What Do Web Developers Need To Know About HTTP/HTTPS?

Collapse
 
ssimontis profile image
Scott Simontis

If you can answer these, I would say you're ahead of the game.

  • Status codes: what is the most appropriate response you can return for a given situation?
  • HTTP/2: why is the number of resource requests made by a page less important on a server supporting HTTP/2?
  • HTTP caching. I feel like most people don't have a solid grasp of what the different headers mean and don't explore past the point of "Clear your cache if you don't see the CSS updates!"
  • Know your common headers, especially those that pertain to security. Content Security Policy, referrer policies, Strict Transport Security
Collapse
 
nicolus profile image
Nicolas Bailly

And CORS, whether you're doing front-end or back-end you should learn about CORS or one day you'll spend hours wondering why your query doesn't return anything, and why your browser is making "OPTIONS" request instead of POSTing your damn form.