{"id":696,"date":"2008-12-13T04:19:02","date_gmt":"2008-12-13T03:19:02","guid":{"rendered":"http:\/\/www.nivas.hr\/blog\/?p=696"},"modified":"2008-12-13T04:21:35","modified_gmt":"2008-12-13T03:21:35","slug":"relax-have-a-cookie","status":"publish","type":"post","link":"https:\/\/www.nivas.hr\/blog\/2008\/12\/13\/relax-have-a-cookie\/","title":{"rendered":"Relax, have a cookie!"},"content":{"rendered":"<p>On last project we are working on, we decided to go heavy with <a href=\"http:\/\/en.wikipedia.org\/wiki\/HTTP_cookie\">browser cookie<\/a> usage for saving user personalization settings locally instead of centralized (to database). Yes I know it slows down the page rendering, but please humor me in this exercise. Answer following questions truthfully:<\/p>\n<ol>\n<li>How often do you delete your browser cookies?<\/li>\n<li>Do you delete them at all (on purpose or automatically by an antivirus)?<\/li>\n<li>Are you afraid of browser cookies?<\/li>\n<li>Would you even consider using website which saves user personalization settings locally to your computer (and available only from that computer) vs. site that requires registration and login and then saves user personalization settings centralized?<\/li>\n<\/ol>\n<p>The initial fear of cookies (or at least a &#8220;hype&#8221;) should have disappear over the past years, and people should have realized that much greater harm can happen to them via internet browser than a mere 4kb of random data stored in cookie. <\/p>\n<p>So, the only real question here is &#8211; are cookies convenient enough method of saving personalized settings in modern web age? Are people so used to &#8220;click here to register&#8221; signs  (let&#8217;s not forget fighting with captcha, leaving personal data, waiting for an email and activating account via email links hassle&#8230;) even only real benefit is ability to save personalized settings of that website??? <\/p>\n<p><img loading=\"lazy\" src=\"http:\/\/www.nivas.hr\/blog\/wp-content\/uploads\/2008\/12\/cookiemonster-450x337.jpg\" alt=\"cookiemonster\" title=\"cookiemonster\" width=\"450\" height=\"337\" class=\"alignnone size-medium wp-image-774\" srcset=\"https:\/\/www.nivas.hr\/blog\/wp-content\/uploads\/2008\/12\/cookiemonster-450x337.jpg 450w, https:\/\/www.nivas.hr\/blog\/wp-content\/uploads\/2008\/12\/cookiemonster.jpg 1024w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>On last project we are working on, we decided to go heavy with browser cookie usage for saving user personalization settings locally instead of centralized (to database). Yes I know it slows down the page rendering, but please humor me in this exercise. Answer following questions truthfully: How often do you delete your browser cookies?&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/696"}],"collection":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/comments?post=696"}],"version-history":[{"count":16,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/696\/revisions"}],"predecessor-version":[{"id":792,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/696\/revisions\/792"}],"wp:attachment":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/media?parent=696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/categories?post=696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/tags?post=696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}