Software Engineer • Mentor • Tech Speaker
I am Nandan, And you probably know me as a "Software Engineer who "hacked" an Airline to retrieve his luggage". I am a full-time Software Engineer, Tech Speaker, and mentor. I enjoy talking about Web Development, Machine Learning, Natural language Processing, Machine learning Accelerated Mobile Pages, Progressive Web Apps, Cybersecurity, Chatbots, etc. My claim to fame was when I posted a series of tweets on Twitter about data privacy issues on an airline’s website and the tweet got viral for all the good reasons. The story was covered by all major media portals all around the world including BBC, Saudi Gazette, Times of India, Boing Boing, Lallantop etc. and I have been interviewed by some major radio channels and podcasts. In my free time, I like to indulge myself in activities like Photography, Gardening, Snooker, or Boxing. I am a proud owner of many plants, I sometimes talk to them (mostly pep talks).
Markdown supported · ⌘↵ to post
CDN Edge Ops
A CDN that multiplies origin egress usually means the edge is fetching far more than it is serving from store. Shared caches only help when responses are actually cacheable: public with an s-maxage the POP can honour, no private or no-store on the paths you expect to HIT, cookies stripped or bypassed so a Set-Cookie cannot fragment the key for every visitor, and Vary kept to the headers you truly branch on. Without that, every client still walks to origin through the CDN — you pay edge request fees plus full origin bytes, which is how a “cheap cache layer” shows up as a 10–15x bill spike. Origin shield or a short regional tier only pays off after the first-byte cacheability story is fixed; otherwise you just add another miss hop.
Ops prove-out before widening TTL: request the same uncacheable-looking path twice and read HIT/MISS/BYPASS from an X-Cache-Status style header, compare the live Cache-Control the edge saw with what you intended to publish, and watch origin request rate and egress for that host over the next deploy window. If MISS stays near 100%, fix headers and keying first — lengthening TTL on privately keyed or cookie-poisoned objects only makes the miss louder and the invoice worse. After a purge or header change, confirm authenticated locations still BYPASS so you do not trade a bill problem for a cache-poisoning incident.