2 ms·
Cookies are sent with the first request, so the site can customize the response based on user ID. If the site uses local storage to identify the user , it will
by goto11 6y ago
Cookies are sent with the first request, so the site can customize the response based on user ID. If the site uses local storage to identify the user , it will first have to send some bootstrap page which loads the id and sends it back. Much more cumbersome.