Posts

Showing posts from March, 2025

Unusual Traffic, Unexpected Chaos: The Truth Behind the Cloudflare Outage

Image
Cloudflare's Global Outage: Understanding the Root Cause Behind the September 18 Network Disruption On 18 September, the world witnessed a sudden and widespread slowdown of the internet. Websites and applications depending on Cloudflare ranging from social networks to API driven platforms began returning Internal Server Error messages. Millions of users assumed it was a cyberattack, a DDoS event, or a breach. However, the truth behind the outage was far more nuanced and rooted in Cloudflare’s internal architecture. This blog breaks down what Cloudflare does, why bot mitigation plays a critical role, how an unexpected configuration file led to an internal service crash, and why “unusual traffic” triggered a global ripple. What Cloudflare Really Does for the Internet Cloudflare is more than a simple CDN or firewall it is a massive reverse-proxy network that sits between users and websites. It accelerates content delivery, filters malicious traffic, provides DNS services, manage...

Flask Cookie

Image
A cookie is a small piece of data stored on the user’s browser by a website. It helps websites remember user preferences, authentication status, and other session-related data. Key features of ccookies: ✅ Stored on the client-side (browser). ✅ Sent with each request to the server. ✅ Used for sessions, authentication, tracking, and personalization. ✅ Can have attributes like expiration time, HTTPOnly, Secure, and SameSite for security. 🏗 What is a Flask Cookie? A Flask cookie is a way to store data on the user’s browser using Flask’s set_cookie() method. Flask allows developers to set, read, and delete cookies easily. How Flask Uses Cookies: 1️⃣ Setting a Cookie: resp.set_cookie('key', 'value') 2️⃣ Getting a Cookie: request.cookies.get('key') 3️⃣ Deleting a Cookie: resp.set_cookie('key', '', expires=0) from flask import Flask, render_template, request, url_for, redirect, make_response, flash, session import rand...