C is for Cookie πͺ
summary
Cookies are explained from the original 1994 RFC through modern browser behavior: cookies are header key=value pairs (max ~4096 chars) used for sessions, CSRF and language settings; Django exposes set_cookie, set_signed_cookie and delete_cookie and request.get_signed_cookie with path/domain matching required to delete. Browsers add SameSite=lax by default and vendors (Safari ITP 2017, Firefox 2019, Chrome plans to block thirdβparty cookies in 2022) are phasing out thirdβparty tracking, forcing adtech proposals like Turtledove and contextual ad pivots.
AI-written summary Β· about
