![]() Modern APIs for client storage are the Web Storage API ( localStorage and sessionStorage) and IndexedDB. Cookies are sent with every request, so they can worsen performance (especially for mobile data connections). While this made sense when they were the only way to store data on the client, modern storage APIs are now recommended. User preferences, themes, and other settings TrackingĬookies were once used for general client-side storage. Logins, shopping carts, game scores, or anything else the server should remember Personalization It remembers stateful information for the stateless HTTP protocol.Ĭookies are mainly used for three purposes: Session management Typically, an HTTP cookie is used to tell if two requests come from the same browser-keeping a user logged in, for example. The browser may store the cookie and send it back to the same server with later requests.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |