What Actually Are Cookies?

AI Amplified 🚀
3 min readAug 6, 2023

--

Welcome back to our little corner of the internet!

Thanks to Internet Cookies for the diagram

Maybe when you were signing up to a new site, it asked you to accept cookies. No, we’re not talking about the delectable snacks you can bake at home; in the digital world, cookies are something else entirely — they’re tiny bits of information that help make your online experience smoother and more personalized.

What Are Cookies?

Imagine you walk into your favourite coffee shop, and the barista remembers your usual order. Cookies work a bit like that, but for websites. They’re small text files that your web browser (like Safari or Chrome) saves on your device when you visit a website. These cookies store little pieces of information about your interactions with that site.

How Do Cookies Work?

Cookies allow the internet to remember things about you as an internet user. When you visit a website for the first time, it sends a cookie to your browser. This cookie contains a unique ID, which is like a digital fingerprint. As you click around and use the site, your browser keeps sending back this ID with every request you make.

This helps the website remember things like your login details, preferences, items you added to your shopping cart, and even which articles you’ve read. So, the next time you visit the site, it can say, “Hey, welcome back! We know what you like, and we have more like that in store for you!”

Types of Cookies

But as you know, websites can vary and therefore use tons of different types of these cookies. Let’s look into them:

Session Cookies:

These are like short-term memory cookies. They only last as long as your browsing session. Once you close your browser, they disappear, and the website forgets you.

First-Party Cookies

These cookies come from the website you’re directly visiting. They’re used to remember your settings and preferences.

Third-Party Cookies

These cookies come from other websites that have elements on the page you’re visiting, like ads or social media widgets. They’re often used to track your browsing habits for advertising purposes.

Persistent Cookies

These are more like long-term memory cookies. They stick around even after you close your browser. They’re handy for remembering you when you return to a website days or even weeks later.

Are Cookies Good or Bad?

Cookies (especially Persistent Cookies) can end up retrieving a lot of data about your internet and the footprint you leave on it. This leads to a whole ethical debate (kind of like whether AI Art is really art or not) on whether cookies are really good or bad. In all honesty, cookies themselves aren’t either — it’s how they’re used that matters. They’re super helpful for making your online experience smoother. However, some people worry about privacy, (especially with third-party cookies that track your behavior across different sites).

Thankfully, browsers now give you more control over cookies. You can delete them, block third-party cookies, or even set your browser to ask for permission before accepting cookies from a website.

The Bottom Line

So yes — cookies are like those friendly baristas who remember your order at your favourite cafe. They make your online journeys smoother by remembering your preferences and helping websites give you a more tailored experience. While some concerns exist about privacy and tracking, modern browsers give you the power to manage your cookie settings.

So next time you’re sipping your coffee and browsing the web, remember that cookies are working behind the scenes to ensure you get a personalised and efficient online adventure!

If you enjoyed this one, be sure to leave a few claps, a comment and a follow behind! See you in the next one!

--

--

AI Amplified 🚀
AI Amplified 🚀

Written by AI Amplified 🚀

The commonplace for people who are curious about technology and AI. And yes, my profile picture was generated by DALL-E, a generative AI by OpenAI.

No responses yet