Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The reason why we need cookies is to deliver different versions depending on the platform.

By default, the mobile version is served. If it turns out that the request came from a big screen, a cookie is set and the page is reloaded.

From then on, the cookie is used and the big-screen version is sent by default.

The point is just to have a single address for each page but to deliver appropriate content depending on the platform.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: