<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Aaryacteli on Medium]]></title>
        <description><![CDATA[Stories by Aaryacteli on Medium]]></description>
        <link>https://medium.com/@aaryacteli?source=rss-0c0e9985eaef------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*aPJyB4On3tCdPVJH</url>
            <title>Stories by Aaryacteli on Medium</title>
            <link>https://medium.com/@aaryacteli?source=rss-0c0e9985eaef------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 20:22:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aaryacteli/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[So… We Thought Trimbakeshwar Would Be a Simple One-Day Trip ]]></title>
            <link>https://medium.com/@aaryacteli/trimbakeshwar-what-i-learned-from-a-one-day-trip-d0ef781607fe?source=rss-0c0e9985eaef------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0ef781607fe</guid>
            <category><![CDATA[trimbakeshwar-temple]]></category>
            <category><![CDATA[trimbakeshwar-day-trip]]></category>
            <dc:creator><![CDATA[Aaryacteli]]></dc:creator>
            <pubDate>Mon, 14 Sep 2026 17:06:23 GMT</pubDate>
            <atom:updated>2026-09-15T06:36:49.857Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Sometimes the best travel stories are the ones that don’t go according to plan.</strong></p><p>Yesterday, we woke up at <strong>4:30 AM</strong> with a lot of excitement to catch the 6 AM train. My sister <strong>Purva</strong>, my colleague <strong>Shruti</strong>, and I had planned a one-day spiritual trip from <strong>Thane to Trimbakeshwar</strong>.</p><p>It wasn’t like we planned this trip randomly. One of our friends had already visited Trimbakeshwar, so we took tips from them about the route, darshan, and timings. We also spoke to a few local friends and tried to understand the best way to plan the journey.</p><p>With all those tips and suggestions, we thought we had it figured out.</p><p>The plan was simple: reach Trimbakeshwar, have darshan of the Jyotirlinga, spend some time around the temple, have lunch, and return to Thane by night.</p><p><strong>We thought we had planned everything.</strong></p><p><strong>We hadn’t.</strong> 😄</p><p>Despite all the planning, tips from friends, and advice from locals, things started going differently from the moment we began our journey.</p><p>What followed was a day full of travel, long queues, unexpected delays, tiredness, conversations, and one completely unexpected friendship.</p><h3>The Journey Begins at 6 AM</h3><p>We started our journey from <strong>Thane at around 6 AM</strong>. We had two possible routes to reach Trimbakeshwar.</p><p>One option was:</p><p><strong>Thane → Kasara → Trimbakeshwar</strong></p><p>The other was:</p><p><strong>Thane → Nashik Road → Trimbakeshwar</strong></p><p>We chose the second option because we had managed to get <strong>confirmed tickets on the Tapovan Express from Thane to Nashik Road</strong>. So, early in the morning, the three of us boarded the Tapovan Express and started our journey towards Nashik.</p><p>The train journey was comfortable, and we were excited because the actual spiritual part of the trip was finally getting closer.</p><h3>Nashik to Trimbak, The 30 KM That Took Much Longer</h3><p>Once we reached <strong>Nashik Road</strong>, we continued towards Trimbakeshwar. On the map, Nashik to Trimbakeshwar is only around <strong>30 km</strong>.</p><p>We thought, <em>“How long can it possibly take?”</em></p><p>Well… quite a while. 😄</p><p>Our bus journey took around <strong>2–2.5 hours</strong>.</p><p>There is also another option, <strong>shared vans</strong>. They can take around <strong>1-1.5 hours</strong>, but you may have to wait until the van is full before it leaves. So if you’re planning your journey around a fixed darshan or return time, this is something worth keeping in mind. Eventually, after all the travelling, we finally reached Trimbakeshwar.</p><h3>Finally, Trimbakeshwar</h3><p>After the long journey, reaching Trimbakeshwar felt really good.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Jp-Ncu24QxzjMWgbogFPQ.jpeg" /><figcaption>Trimbakeshwar Temple and the Iconic Trishul</figcaption></figure><p>There was a completely different atmosphere around the temple. Pilgrims were everywhere, people were moving towards the temple, and there was a constant buzz around us.</p><p>The weather made the experience even better. We were lucky to have some light rain, cool weather, and beautiful views around Trimbakeshwar. The greenery looked fresh, the cloudy sky added to the mood, and for a moment, all the travel tiredness felt worth it</p><figure><img alt="Lake near the temple" src="https://cdn-images-1.medium.com/max/1024/1*S3KTumn6XvC5_moRP2aqlQ.jpeg" /><figcaption>Lake near temple and the amazing view</figcaption></figure><p>We had already booked our <strong>VIP darshan pass</strong>, expecting that it would make things considerably faster.</p><p>But we quickly learned something:</p><blockquote><strong>VIP doesn’t mean instant darshan.</strong></blockquote><p>Around <strong>12:15 PM</strong>, we entered the VIP queue, which was about <strong>500 metres away from the main temple</strong>. The queue itself took considerable time. We spent roughly <strong>an hour to an hour and a half</strong> there. By around <strong>1:45 PM</strong>, we were out of the VIP queue and decided to have lunch before joining the main darshan line.</p><p>At around <strong>2:15 PM</strong>, we entered the main darshan queue. And since there was nothing much we could do except wait, we started making the most of the time. We read about the <strong>story and history of Trimbakeshwar</strong>, watched a few videos, and tried to understand the significance of the temple. Somehow, watching those videos while actually being there made the whole experience feel different. We could see the temple, hear the chants, feel the atmosphere around us, and slowly connect what we were watching with the place we were standing in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LbsNTPvbEGrB6zkMZeUQrg.jpeg" /><figcaption>Temple Surroundings Captured While Waiting in the main Queue</figcaption></figure><p>But one question kept coming back to me:</p><p><strong>“Tri” actually mean the three, Brahma, Vishnu, and Mahesh. And what exactly is the connection between these three gods and this temple?</strong></p><p>That curiosity made the waiting a little more interesting. Instead of simply thinking about how long the queue was, we were trying to understand the place we had travelled so far to visit.</p><p>And there was still more waiting. At this point, we had completely stopped expecting a quick darshan. 😄</p><p>We just waited.</p><p>And waited.</p><p>Finally, around <strong>5:30 PM</strong>, we had our darshan.</p><p>After all that travelling, the queues, the waiting, and the tiredness, that moment felt genuinely special. 🙏</p><h3>The Unexpected Part of the Trip</h3><p>While we were waiting in the VIP queue, something completely unexpected happened.</p><p>We met <strong>Mahesh, a traveller and explorer from Bengaluru</strong>. We didn’t know him. He didn’t know us. It started with a simple conversation while waiting in the queue. But one conversation turned into another. And somehow, this stranger became part of our entire day.</p><p>We had <strong>darshan together, lunch together and even dinner together. </strong>A random meeting in a queue turned into a new friendship. That was probably the good part of the trip. Because sometimes, you don’t plan the best memories. <strong>They just happen.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4JsXzffmLluDRKnxDRAv8w.jpeg" /><figcaption>Mahesh and we three (Mahesh, Purva in green, Shruti in white, and me in a brown kurta)</figcaption></figure><h3>The Return Journey, Where Things Got Interesting</h3><p>After finally having darshan, we decided to make a quick visit to <strong>Swami Samarth Math</strong>, which is only around <strong>1.5 km from the temple</strong>.</p><p>The Math was huge, clean, and had a completely different kind of peaceful energy. The place felt very well maintained, and the atmosphere gave us a sense of calm after spending hours in queues. The <strong>view from the Math was amazing</strong>, too. We stood there for a while, taking in the surroundings and enjoying the peaceful vibe before heading back.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A-JJsH45w1yZ91jPH9uXuw.jpeg" /><figcaption>Swami Samarth Seva Kendra</figcaption></figure><p>It was a short visit, but honestly, it felt worth it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4NnczCaeLtv1KXQ7jEBc6w.jpeg" /><figcaption>Views from the Swami Samarth math</figcaption></figure><p>By around <strong>6:30 PM</strong>, it was finally time to start our journey back. Again, we had two options.</p><p>We could take the <strong>Trimbak → Nashik → Thane</strong> route, which we had already experienced.</p><p>Or we could take the <strong>Trimbak → Kasara → Thane</strong> route.</p><p>We decided to stick with the Nashik route.</p><p>Why?</p><p>Because we already knew the route and the available travel options. The Kasara route was new for us, and it includes a <strong>ghat section</strong>. We weren’t sure how comfortable the journey would be, especially after an already tiring day. We also thought the winding road could make us feel nauseous.</p><p>So we decided:</p><p><strong>Better to take the route we know. </strong>Back to Nashik we went.Little did we know, the biggest surprise of the day was still waiting for us at <strong>Nashik Road station</strong>.</p><h3>And Then… The Train Was Delayed</h3><p>We reached <strong>Nashik Road station around 8:10 pm </strong>thinking that our return journey was pretty much sorted.</p><p>We had our train plan ready. And then came the surprise. The train we were expecting was <strong>delayed by almost five hours</strong>. That’s when all three of us started getting tense.</p><p>It was getting late.</p><p>We were already tired.</p><p>And we still had to travel back to Thane. For a moment, our carefully planned return journey was completely uncertain. So we started exploring other options. We checked different trains, spoke to people around the station, and asked locals about possible ways to get back. And finally, we found another option. The <strong>Jaynagar Express at 9:33 PM</strong> was running on time.</p><p>That gave us some relief.</p><p>We had dinner and then headed towards the train.And then came another unexpected part of the journey. The train was <strong>packed with people</strong>. After spending the entire day travelling, walking, waiting in queues and having darshan, the crowded train journey was exhausting.</p><p>But at that point, we had one goal:</p><p><strong>Just get back home.</strong> 😄</p><h3>What This Trip Taught Me</h3><p>When we left Thane at 6 AM, we thought this would be a straightforward one-day trip.</p><p>By the end of it, we had learned that travelling isn’t always about following the perfect itinerary.</p><p>Sometimes the bus takes longer.</p><p>Sometimes the queue takes hours.</p><p>Sometimes your train gets delayed by five hours.</p><p>Sometimes you have to change your entire return plan.</p><p>And sometimes, while waiting in a queue, you meet a stranger who becomes your friend.</p><p>That’s what made this trip memorable.</p><h3>Things I Would Do Differently Next Time</h3><p>After experiencing the trip ourselves, here are the things we would recommend to anyone planning to visit Trimbakeshwar.</p><h3>1. Book your VIP pass in advance</h3><p>The VIP pass costs <strong>₹200 per person</strong>, based on our experience.</p><p>Book it <strong>4–7 days before your visit</strong> instead of waiting until the last minute.</p><p><a href="https://trimbakeshwartrust.com/onlinevip?utm_source=chatgpt.com">Trimbakeshwar VIP Booking</a></p><p>The website may show <strong>“QUOTA IS FULL!”</strong> if you try booking at the last moment.</p><p>Also, VIP passes are not provided on <strong>Shravan Mondays</strong>.</p><h3>2. Don’t assume VIP means quick darshan</h3><p>Keep at least <strong>3 to 4 hours</strong> in your schedule for the complete darshan experience.</p><p>The queue can take much longer than expected.</p><h3>3. Consider staying overnight</h3><p>This was probably our biggest lesson.</p><p>If you’re travelling with family or friends, staying overnight can make the entire trip much more relaxed.</p><p>We came across <strong>Swami Samarth Math</strong>, which is relatively close to the temple and offers an affordable stay option.</p><p><a href="https://yatradham.org/trimbakeshwar-shrimad-swami-samarth-sevakari-niwas-dattdham.html?utm_source=chatgpt.com">Swami Samarth Math accommodation</a></p><h3>4. Choose your Nashik → Trimbak transport wisely</h3><p>You can take a <strong>bus or shared van</strong>.</p><p>The bus took us around <strong>2–2.5 hours</strong>, while the shared van can take around <strong>1.5 hours</strong>, but you may have to wait for it to fill up.</p><p>So consider both <strong>travel time and waiting time</strong>.</p><h3>5. Wear comfortable clothes and carry something to eat</h3><p>You’ll spend a lot of time walking and standing. <strong>Bags are allowed in the temple. So you can carry small bags. </strong>Have food before joining the queue and carry snacks/food if appropriate.</p><p>Wear comfortable footwear and clothes. During monsoon or winter, carrying something warm can also be useful.</p><h3>One Last Thought</h3><p>Our plan wasn’t perfect.</p><p>The journey took longer than expected.</p><p>The darshan took hours.</p><p>Our return train was delayed.</p><p>We had to change our travel plan.</p><p>The alternative train was crowded.</p><p>But somewhere between all those queues, delays and unexpected changes, we met Mahesh.</p><p>And that random meeting became one of the best memories of the trip.</p><p>Maybe that’s what travelling is really about.</p><p><strong>You make a plan. The plan changes. And somewhere along the way, you end up with a story you never expected to tell.</strong></p><p><strong>Har Har Mahadev! 🙏</strong></p><p><em>Note: The timings, queue experience, pass availability and travel conditions mentioned here are based on our personal experience and may change. Please check the official Trimbakeshwar Trust website before travelling.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0ef781607fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web Vitals & Lighthouse]]></title>
            <link>https://medium.com/@aaryacteli/web-vitals-lighthouse-38ff853bfa0b?source=rss-0c0e9985eaef------2</link>
            <guid isPermaLink="false">https://medium.com/p/38ff853bfa0b</guid>
            <category><![CDATA[performance-optimization]]></category>
            <category><![CDATA[fcp-inp-cls]]></category>
            <category><![CDATA[pagespeed-insights]]></category>
            <category><![CDATA[lighthouse]]></category>
            <category><![CDATA[web-vitals]]></category>
            <dc:creator><![CDATA[Aaryacteli]]></dc:creator>
            <pubDate>Fri, 04 Sep 2026 12:41:09 GMT</pubDate>
            <atom:updated>2026-09-04T12:41:09.598Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>“My site works fine on my machine. Why does it feel slow for users?”</blockquote><p>That question is basically what Web Vitals exist to answer. Here’s the same walkthrough I used in that session.</p><h3>Why “It Loads Fine For Me” Isn’t Good Enough</h3><p>A few years ago, performance conversations were mostly about a single number: page load time. Today the focus has shifted to something more specific — <strong>how a page feels</strong> while it loads, renders, and responds to input.</p><p>That’s the idea behind <strong>Core Web Vitals</strong> — a set of metrics that try to measure real, user-perceived experience instead of just raw load time.</p><h3>The Three Core Web Vitals</h3><h3>1. LCP: Largest Contentful Paint</h3><p><strong>What it measures:</strong> How long it takes for the largest visible element (hero image, heading, banner or it can be a loader) to render.</p><p><strong>Good score:</strong> Under 2.5 seconds</p><p><strong>Why it matters:</strong> This is the point where a user sees that the page has actually loaded something meaningful. A slow LCP means users are staring at a blank or partial screen longer than they should.</p><p><strong>Common causes:</strong></p><ul><li>Unoptimized images</li><li>Render-blocking CSS/JS</li><li>Slow server response (TTFB)</li><li>Missing preload hints for critical resources</li></ul><h3>2. INP: Interaction to Next Paint</h3><p><strong>What it measures:</strong> How quickly the page responds when a user interacts with it — a click, a menu open, typing into a field.</p><p><strong>Good score:</strong> Under 200ms</p><p><strong>Why it matters:</strong> INP replaced FID (First Input Delay) because it accounts for the full interaction, not just the first click. A slow INP often shows up as UI that feels laggy or unresponsive, even if the page loaded fine initially.</p><p><strong>Common causes:</strong></p><ul><li>Heavy JavaScript execution blocking the main thread</li><li>Large re-renders (common in unoptimized React components)</li><li>Long tasks that aren’t broken into smaller chunks</li></ul><h3>3. CLS: Cumulative Layout Shift</h3><p><strong>What it measures:</strong> Visual stability — how much content shifts around while the page is loading.</p><p><strong>Good score:</strong> Under 0.1</p><p><strong>Why it matters:</strong> This is what causes a button to move right as a user is about to tap it, usually because an image or ad loaded late without reserved space. It’s a common source of accidental clicks and user frustration.</p><p><strong>Common causes:</strong></p><ul><li>Images/ads without defined width &amp; height</li><li>Web fonts causing layout reflow (FOIT/FOUT)</li><li>Dynamically injected content pushing existing elements around</li></ul><h3>Other Notable Metrics: FCP, SI, and TBT</h3><p>The three Core Web Vitals get most of the attention, but Lighthouse also reports a few supporting metrics that help explain <em>why</em> those core numbers look the way they do:</p><ul><li><strong>FCP (First Contentful Paint)</strong> : the moment the first piece of content (text, logo, anything) appears on screen. It doesn’t mean the page is usable yet, just that something has rendered.</li><li><strong>SI (Speed Index) : </strong>how quickly the page’s content visually fills in during load. A lower Speed Index means the page appears complete sooner.</li><li><strong>TBT (Total Blocking Time) : </strong>the total time between FCP and the page becoming interactive where the main thread is too busy to respond to input.</li></ul><p>In short: FCP tells you when something first appears, SI tells you how quickly the rest fills in, and TBT tells you how long the page stays unresponsive after that.</p><h3>Enter Lighthouse</h3><p>If Web Vitals describe <em>what</em> to measure, <strong>Lighthouse</strong> is the tool that measures it.</p><p>Lighthouse is an open-source, automated auditing tool, built into Chrome DevTools, and also available via CLI, as a Node module, and through PageSpeed Insights. It audits a page across five categories:</p><ul><li><strong>Performance</strong></li><li><strong>Accessibility</strong></li><li><strong>Best Practices</strong></li><li><strong>SEO</strong></li><li><strong>Agent Browsing (</strong> experimental category<strong>)</strong></li></ul><p><em>NOTE: One thing worth flagging early: browser extensions and leftover cached data can affect your results</em>.</p><h3>How to Run It</h3><p><strong>Chrome DevTools:</strong></p><ol><li>Open DevTools (F12 or Cmd+Opt+I)</li><li>Go to the <strong>Lighthouse</strong> tab</li><li>Select categories + device type (test both mobile and desktop — they can score differently)</li><li>Click <strong>Analyze page load</strong></li></ol><p><strong>CLI (useful for CI/CD pipelines):</strong></p><pre>npm install -g lighthouse<br>lighthouse https://yourwebsite.com --view</pre><p><strong>PageSpeed Insights:</strong> Useful because it shows both lab data and real-world <strong>field data</strong> (from CrUX) in one place.</p><h3>The Three Modes Lighthouse Can Run In</h3><p>Lighthouse doesn’t just run one type of audit — it has three modes, and picking the right one matters:</p><ul><li><strong>Navigation mode (default):</strong> Audits a full page load, from navigation start to the page becoming interactive. This produces the standard Performance/Accessibility/SEO/Best Practices scores most people are familiar with.</li><li><strong>Snapshot mode:</strong> Audits the page in its current state, useful for checking a page after an interaction (a menu opened, a modal shown) without triggering a full reload.</li><li><strong>Timespan mode:</strong> Records everything that happens across a custom time window, for example, from a button click to a cart update. This mode is better suited for debugging interaction-related issues like INP, since it’s not tied to a single page load.</li></ul><p>If you’ve only used the default DevTools flow, you’ve only used Navigation mode. Snapshot and Timespan exist for cases where the initial load isn’t the problem, something that happens after it is.</p><h3>One Important Detail: It’s a Single-Page Score</h3><p>A Lighthouse report only scores the one URL you ran it against — not your entire site. Your homepage could score 95 while your checkout page scores 40, and Lighthouse won’t tell you that unless you run it against the checkout page separately. There’s no site-wide average. For any site with multiple important pages (homepage, key landing pages, checkout, search results), each one needs its own audit.</p><h3>Lab Data vs Field Data ( for the <strong>PageSpeed Insights )</strong></h3><p>This distinction is worth repeating, because it’s easy to overlook:</p><ul><li><strong>Lab data</strong> (Lighthouse in DevTools) — a simulated test, run on your machine, at that moment. Useful for debugging, but not representative of every user.</li><li><strong>Field data</strong> (Chrome UX Report / Real User Monitoring) actual performance data collected from real users, on real devices, on real networks.</li></ul><p>A site can score 95 in Lighthouse and still perform poorly for real users, simply because the test machine has a fast CPU and a stable connection, while actual users are on older devices or slower networks. Lab improvements should generally be validated against field data before being treated as confirmed wins.</p><h3>Reading a Lighthouse Report: Understand Before You Fix</h3><p>One habit worth building: don’t jump straight to “fixing” the moment you see a red flag. Read what Lighthouse is actually telling you first, a report is only useful once you understand <em>why</em> a number looks the way it does, not just the number itself.</p><p>Take the example above, a run against a news homepage returned a Performance score of 59, with a warning at the top: <em>“There may be stored data affecting loading performance in this location: IndexedDB. Audit this page in an incognito window to prevent those resources from affecting your scores.”</em></p><p>That message isn’t asking you to go optimize IndexedDB usage. It’s telling you the test itself may have been affected by leftover browser storage from a previous session meaning the 59 might not accurately reflect the page at all. Fixing “performance” based on that number without reading the warning first would mean chasing the wrong problem.</p><p>A reasonable way to approach any Lighthouse report:</p><ol><li><strong>Read the top-level warnings first</strong>, before looking at individual audits. These often point to environmental issues (stale cache, extensions, throttling problems) that can skew every score below them.</li><li><strong>Understand what’s being measured</strong>, not just pass/fail. An audit like “Avoid large layout shifts” is far more useful once you know <em>which</em> element shifted and <em>when</em> — that detail is available under each audit.</li><li><strong>Separate real problems from minor flags.</strong> Not everything Lighthouse flags needs immediate attention. Issues tied directly to LCP, INP, or CLS usually matter more than smaller best-practice suggestions.</li><li><strong>Re-run before drawing conclusions.</strong> A single report is a sample, not a verdict. Running it 2–3 times, ideally in Incognito, gives a more reliable picture.</li></ol><p>Understanding the problem Lighthouse is describing is generally more useful than optimizing for the score in isolation.</p><h3>Local vs Deployed: Why Scores Might Not Match</h3><p>A common situation: Lighthouse looks fine on localhost, but users on the live site report slowness. This does happen, and there are specific reasons for it:</p><ul><li><strong>Network conditions.</strong> Localhost has effectively no network latency. A deployed site involves real DNS lookups, TLS handshakes, CDN routing, and actual round-trip time, none of which localhost replicates.</li><li><strong>Server environment.</strong> A dev server often serves files instantly from memory. Production servers deal with real load, cold starts, or slower backend processing.</li><li><strong>Caching and CDN behavior.</strong> A deployed site behind a CDN behaves differently depending on cache hits and misses, something localhost doesn’t have at all.</li><li><strong>Device and network diversity.</strong> Local testing happens on one machine and one connection. Deployed traffic comes from a wide range of devices, many less powerful than a developer’s laptop.</li></ul><p>When local numbers look fine but real users report slowness, the next step is to check field data, specifically the Chrome UX Report (CrUX), which reflects real user experience on the deployed site rather than a simulated one.</p><p><strong>The catch:</strong> CrUX data is only available for sites that receive enough public traffic to meet Google’s reporting threshold. If a site is internal, low-traffic, behind authentication, or newly launched, CrUX may simply have no data available, even if real users are genuinely experiencing slowness.</p><p>In that situation, a few practical options:</p><ul><li><strong>Set up Real User Monitoring (RUM) directly.</strong> The official <a href="https://github.com/GoogleChrome/web-vitals">web-vitals</a> JavaScript library can capture LCP, INP, and CLS from actual user sessions, which you then send to your own analytics or logging backend. This gives you field-level data independent of CrUX&#39;s threshold.</li><li><strong>Use a third-party RUM/APM tool</strong> (e.g., New Relic, Datadog, SpeedCurve, Sentry Performance) if a ready-made dashboard and alerting setup is preferable to building one from scratch.</li><li><strong>Segment the data by device and network type.</strong> A regression affecting only low-end devices or a specific region can be hidden if you’re only looking at overall averages.</li><li><strong>Correlate deploys with performance changes.</strong> With RUM in place, it becomes possible to trace a regression back to a specific release instead of guessing.</li></ul><p>The main point: CrUX not having data for a site doesn’t mean the site has no performance issues, it just means that particular data source isn’t available. Setting up your own monitoring closes that gap.</p><h3>Agentic Browsing: Lighthouse’s Newest Category</h3><p>One category that came up in the session and isn’t widely known yet is <strong>Agentic Browsing</strong>.</p><p>Every other category — Performance, Accessibility, Best Practices, SEO assumes a human is browsing the page. Agentic Browsing checks something different: how well an <strong>AI agent</strong> can understand and interact with a site, not just a person clicking through it.</p><p>A few things set this category apart:</p><ul><li><strong>It’s scored as pass/fail, not 0–100.</strong> Results appear as ratios like 3/3 or 2/3.</li><li><strong>It’s experimental.</strong> Still under development, and currently has no effect on SEO rankings.</li><li><strong>It checks three things:</strong></li><li>Whether elements are properly labeled and structured for AI and assistive technologies to interpret</li><li>Whether the layout stays stable while an agent navigates the page (similar to CLS, but from an agent’s perspective)</li><li>Whether the site provides a file that helps AI models understand its content and policies</li></ul><p>It’s early for this category, but it reflects a broader shift auditing not just whether a page is fast and stable for a person, but whether it can be reliably interpreted by a machine as well.</p><h3>DOM Tree vs Accessibility Tree</h3><p>This question came up right after Agentic Browsing was introduced, and it’s worth answering directly since it explains why that category exists.</p><p>The <strong>DOM tree</strong> is the raw structural representation of your HTML every element exactly as written, including wrapper divs and styling containers. A simple pricing card might expand into five separate elements: a wrapper div, an inner div, a heading, a paragraph, and a button.</p><p>The <strong>accessibility tree</strong> is a filtered version of that structure, keeping only the nodes that carry semantic meaning the information a screen reader, or now an AI agent, needs to understand what’s on the page and what it does. That same pricing card might reduce to three nodes: a heading node (“Pricing”), a text node (“Starting at $10/month”), and a button node (“Get Started”). Wrapper divs are dropped because they don&#39;t carry meaning on their own.</p><p>In short: the DOM tree describes how a page is built. The accessibility tree describes how it’s understood. Using proper semantic HTML real headings, real buttons, meaningful labels keeps that translation clean, which benefits screen readers, assistive technology, and AI agents alike.</p><h3>Practical Fixes</h3><p>Problem Fix Slow LCP Preload hero images, use fetchpriority=&quot;high&quot;, optimize/compress images (WebP/AVIF), reduce server response time High INP Break up long JS tasks, debounce heavy event handlers, use requestIdleCallback, avoid unnecessary re-renders High CLS Set explicit width/height on media, reserve space for ads/embeds, use font-display: swap carefully Poor overall score Remove unused JS/CSS, enable compression (Brotli/Gzip), leverage caching headers, use a CDN</p><h3>Closing Thoughts</h3><p>Performance work isn’t a one-time audit before launch it’s something worth checking regularly, the same way you’d check for bugs. Web Vitals give a consistent way to talk about user experience in measurable terms, and Lighthouse gives a way to actually see what’s contributing to those numbers.</p><p>By the end of the session, people who’d never worked on performance before were running their own Lighthouse audits and starting to understand what the scores actually meant. That’s really the goal treating performance as a normal part of development, not something separate from it.</p><p><em>If you run performance sessions of your own, I’d be interested to hear which metrics or tools tend to generate the most questions for your team.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38ff853bfa0b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CORS, Explained Simply]]></title>
            <link>https://medium.com/@aaryacteli/cors-explained-simply-277af5a04975?source=rss-0c0e9985eaef------2</link>
            <guid isPermaLink="false">https://medium.com/p/277af5a04975</guid>
            <category><![CDATA[preflight-simple-req]]></category>
            <category><![CDATA[how-to-solve-cors-error]]></category>
            <category><![CDATA[cors]]></category>
            <category><![CDATA[what-is-not-cors]]></category>
            <category><![CDATA[browser-security-mechnism]]></category>
            <dc:creator><![CDATA[Aaryacteli]]></dc:creator>
            <pubDate>Wed, 02 Sep 2026 12:19:09 GMT</pubDate>
            <atom:updated>2026-09-02T12:20:18.110Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aMaBqsQaLepv0nqgJ48Vmg.png" /></figure><h3>Why your API calls break in the browser and what’s really going on</h3><p>You test your API in Postman. Works fine. You call it from your website. Browser throws a red error:</p><pre>Access to fetch at &#39;https://api.example.com/orders&#39; from origin<br>&#39;https://app.example.com&#39; has been blocked by CORS policy...</pre><p>Nothing changed on the server. Let’s understand why this happens.</p><h3>1. Same-Origin vs. Cross-Origin</h3><p>An <strong>origin</strong> = Protocol / Host + domain + port.</p><pre>https://app.example.com:443</pre><p>Change any one of those, and it’s a <strong>different origin</strong>.</p><ul><li><strong>Same-origin</strong> → all three match. Your site talking to itself.</li><li><strong>Cross-origin</strong> → any one is different. Your site talking to a different domain/API.</li></ul><p>Browsers have a built-in rule called the <strong>Same-Origin Policy</strong>: by default, JavaScript on one origin can’t read data from another. This protects you, imagine a random tab reading your Gmail just because it’s also open.</p><p>But modern apps <em>need</em> cross-origin calls (frontend → API). CORS is the controlled way to allow that, safely.</p><h3>2. What CORS is NOT</h3><blockquote><strong><em>CORS is not login, not authentication, not API security. It’s just the browser deciding if your JavaScript can read a response it already got.</em></strong></blockquote><p>Common wrong beliefs:</p><ul><li><strong>“Postman works, so it’s fine.”</strong> Postman isn’t a browser. It never checks CORS at all.</li><li><strong>“I’ll add the CORS header from my frontend.”</strong> Doesn’t work. Only the <em>server’s response</em> can grant permission.</li><li><strong>“CORS protects my API.”</strong> It doesn’t. Anyone can call your API directly with a script, CORS only applies inside browsers. Real security = proper auth checks on the server.</li><li><strong>“I’ll just use </strong><strong>Access-Control-Allow-Origin: *.&quot;</strong> Fixes the error, but opens your API to any website, and breaks completely once cookies are involved.</li></ul><h3>3. What CORS Actually Is</h3><blockquote><strong><em>CORS = the server telling the browser: “Here’s who’s allowed to call me.”</em></strong></blockquote><pre>app.example.com                    api.example.com<br>       |----- &quot;Can I get /products?&quot; ----&gt; |<br>       |&lt;---- data + permission slip ----- |<br>       |     Access-Control-Allow-Origin:  |<br>       |     https://app.example.com       |</pre><p>No slip in the response → browser blocks your JS from reading it (server still processed the request).</p><h3>4. Simple Request vs. Preflight Request</h3><p>The browser always asks: <strong>“Is this harmless enough to just send — or should I check first?”</strong></p><h3>Simple Request — just send it</h3><p>Plain GET/POST, no custom headers, basic content type.</p><pre>Browser --- GET /products, Origin: app.example.com ---&gt; API<br>Browser &lt;--- data + Access-Control-Allow-Origin ------- API</pre><p>CORS still applies — it’s just checked <em>after</em> the response, not before.</p><h3>Preflight Request — ask first</h3><p>Custom headers (like Authorization), PUT/DELETE, or JSON body → browser checks first via OPTIONS.</p><pre>Browser --- OPTIONS: &quot;Can I PUT with Authorization?&quot; --&gt; API<br>Browser &lt;--- &quot;Yes, PUT + Authorization allowed&quot; -------- API<br>Browser --- PUT /orders (real request) -----------------&gt; API</pre><p>If the answer is no (or that check fails) → the real request is <strong>never sent</strong>.</p><p><strong>Analogy:</strong> Simple = dropping off a letter. Preflight = calling ahead before showing up with a moving truck.</p><h3>How to see this in DevTools</h3><ol><li>Open <strong>Network tab</strong> → enable <strong>Method</strong> column (right-click header row).</li><li>Trigger the API call.</li><li>GET alone = simple. GET + Preflight (clickable) = needed a check first.</li><li>Filter method:OPTIONS to isolate all preflight calls.</li><li>Click the OPTIONS row → check status (should be 200/204) and Access-Control-Allow-* headers.</li><li>Tip: preflight responses usually have Content-Length: 0 — no data, just permission headers.</li></ol><h3>5. Common Production Issues &amp; How to Fix Them</h3><h3>Issue: OPTIONS → 403 (the #1 real-world bug)</h3><pre>OPTIONS /orders -&gt; 403<br>PUT /orders     -&gt; never sent</pre><p><strong>Cause:</strong> Auth middleware runs on OPTIONS too — but OPTIONS never carries a login token, so it gets rejected before CORS is even checked.</p><p><strong>Fix:</strong> Exclude OPTIONS from auth checks. Let CORS middleware run first.</p><pre>Browser -&gt; OPTIONS -&gt; CORS check (before auth) -&gt; 204 -&gt; PUT (auth checked here)</pre><h3>Issue: Cookies/login silently failing</h3><p>Can’t combine Access-Control-Allow-Origin: * with Access-Control-Allow-Credentials: true — browsers block this outright (security risk). Must use the exact origin instead.</p><p>Also check cookie’s own settings (Secure, Domain, SameSite) — separate lock from CORS.</p><h3>Debug checklist</h3><ol><li>Network tab, not Console.</li><li>Check Method column for “Preflight.”</li><li>Filter method:OPTIONS.</li><li>Check OPTIONS status — 401/403 = the real bug.</li><li>Compare allowed method/headers vs. what you’re sending.</li><li>Check real request’s response for correct Access-Control-Allow-Origin.</li><li>Check cookie settings if credentials involved.</li><li>Trace the path: CDN → Gateway → Middleware → API — any layer can strip headers.</li><li>Always test in a real browser, not Postman.</li></ol><h3>Bonus: what about mobile apps?</h3><p>CORS doesn’t exist there at all — no browser, no check. Proof that CORS was never your API’s real security; that has to be proper auth on the server. (Exception: WebViews inside apps still follow CORS, since a real browser engine runs there.)</p><h3>6. Key Takeaways</h3><ul><li>Same-origin = protocol + domain + port all match. Cross-origin = any one differs.</li><li>CORS ≠ security. It only controls whether JS can <em>read</em> a response.</li><li>Simple requests go straight through; preflight requests ask first via OPTIONS.</li><li>#1 production bug: OPTIONS blocked by auth — exclude it from login checks.</li><li>Can’t mix wildcard origin with credentials.</li><li>The fix always lives on the server — never the frontend.</li></ul><blockquote><strong>Frontend requests it. Server permits it. Browser enforces it.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=277af5a04975" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Open Source Vector Storage]]></title>
            <link>https://medium.com/@aaryacteli/open-source-vector-storage-e935f5036c44?source=rss-0c0e9985eaef------2</link>
            <guid isPermaLink="false">https://medium.com/p/e935f5036c44</guid>
            <dc:creator><![CDATA[Aaryacteli]]></dc:creator>
            <pubDate>Sat, 03 Aug 2024 05:26:50 GMT</pubDate>
            <atom:updated>2024-08-03T05:26:50.892Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I0Y5D1div9D6WK0l8QVTGw.png" /><figcaption>An Open source vector storage</figcaption></figure><h4><strong>Part 1) Overview</strong></h4><ol><li><strong>Vector space: </strong>Vector space is a high-dimensional mathematical space where text data (queries, documents, passages, etc.) is represented as vectors. These vector representations capture the semantic meaning of the text, allowing the RAG system to perform similarity searches and retrieve relevant information efficiently.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*fkE_lxFcJdShl6Oc_Ykq4w.png" /><figcaption>A 3D vector space</figcaption></figure><p><strong>2. The landscape of vector databases</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8uCiCickugEGAolkLKQROQ.png" /><figcaption>Reference: <a href="https://www.datacamp.com/blog/the-top-5-vector-databases">https://www.datacamp.com/blog/the-top-5-vector-databases</a></figcaption></figure><p><strong>Now, what is a vector database?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V02B06EPJ1pnIEz316LSHg.png" /><figcaption>Reference: <a href="https://pynomial.com/2021/10/open-source-vector-databases-overview/">https://pynomial.com/2021/10/open-source-vector-databases-overview/</a></figcaption></figure><p>A vector database is a specific kind of database that saves information in the form of multi-dimensional vectors representing certain characteristics or qualities.</p><p>The number of dimensions in each vector can vary widely, from just a few to several thousand, based on the data’s intricacy and detail. This data, which could include text, images, audio, and video, is transformed into vectors using various processes like machine learning models, word embeddings, or feature extraction techniques.</p><p><strong>How does vector database work?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*wnaBENFziOb6RU_W0cMvYA.png" /><figcaption>Reference: <a href="https://redis.io/solutions/vector-search/">https://redis.io/solutions/vector-search/</a></figcaption></figure><p>For more details check out: <a href="https://www.datacamp.com/blog/the-top-5-vector-databases">https://www.datacamp.com/blog/the-top-5-vector-databases</a></p><h3><strong>Part 2) Open-Source Vector Storage Solutions:</strong></h3><ol><li><strong>FAISS (Facebook AI Similarity Search)</strong></li></ol><p>Description: An open-source library designed for efficient similarity search and clustering of dense vectors.</p><p>Use Case: High-performance nearest neighbor search for large datasets.</p><p>Learn more at: <a href="https://engineering.fb.com/2017/03/29/data-infrastructure/faiss-a-%20library-for-efficient-similarity-search/">https://engineering.fb.com/2017/03/29/data-infrastructure/faiss-a- library-for-efficient-similarity-search/</a></p><p><strong>2. Chroma:</strong></p><p>Chroma is an open-source embedding database. Chroma makes it easy to build LLM apps by making knowledge, facts, and skills pluggable for LLMs. As we explore in our Chroma DB tutorial, you can easily manage text documents, convert text to embeddings, and do similarity searches.</p><p>Key Features:</p><ul><li>Feature-rich: queries, filtering, density estimates, and many other features</li><li>LangChain (Python and JavScript), LlamaIndex, support available</li><li>The same API that runs in Python notebook scales to the production cluster</li></ul><p>Use case: Ideal for managing text documents, converting text to embeddings, and performing similarity searches. It’s feature-rich, offering queries, filtering, and density estimates, making it suitable for applications requiring flexible and powerful embedding management. Its support for LangChain, LlamaIndex, and compatibility with Python and JavaScript makes it versatile for development and scaling from notebooks to production clusters.</p><p>Learn more at:<a href="https://www.trychroma.com/"> https://www.trychroma.com/</a></p><p><strong>3. Milvus</strong></p><p>Description: An open-source vector database designed for massive amounts of vector data and high-performance similarity search.</p><p>Use Case: Optimized for large-scale vector similarity search in applications like recommendation systems, image retrieval, and NLP.</p><p>Learn more at: <a href="https://milvus.io/">https://milvus.io/</a></p><p><strong>4. Weaviate</strong></p><p>Description: An open-source vector search engine that supports semantic search and integrates with various machine learning models.</p><p>Use Case: Flexible and extendable solution for semantic search with context-aware search capabilities.</p><p>Learn more at: <a href="https://weaviate.io/">https://weaviate.io/</a></p><p><strong>5. Qdrant</strong></p><p>Description: An open-source vector database and similarity search engine tailored for deep learning applications.</p><p>Use Case: Optimized for fast and accurate nearest neighbor search in high-dimensional spaces, making it suitable for applications like image and video retrieval, NLP, and recommendation systems.</p><p>Learn more at: <a href="https://qdrant.tech/">https://qdrant.tech/</a></p><p><strong>6. SingleStore</strong></p><p>Description: A distributed SQL database that now includes native support for vector data, enabling efficient vector similarity search and analytics.</p><p>Use Case: Combines the power of SQL with vector search capabilities, ideal for integrating structured and unstructured data in applications such as recommendation systems and real-time analytics.</p><p>Learn more at:<a href="https://www.singlestore.com/"> https://www.singlestore.com/</a></p><p><strong>7. Elasticsearch with KNN Plugin</strong></p><p>Description: A distributed search and analytics engine extended with the k-Nearest Neighbors (k-NN) plugin for vector similarity search.</p><p>Use Case: Scalable and distributed solution combining full-text and vector search.</p><p>Learn more at: <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/knn-search.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/knn-search.html</a></p><p><strong>8. Annoy (Approximate Nearest Neighbors Oh Yeah)</strong></p><p>Description: A C++ library with Python bindings for approximate nearest neighbor search, designed for large-scale datasets.</p><p>Use Case: Lightweight and easy-to-use solution for approximate nearest neighbor search.</p><p>Learn more at: <a href="https://github.com/spotify/annoy">https://github.com/spotify/annoy</a></p><p><strong>9. HNSW (Hierarchical Navigable Small World)</strong></p><p>Description: A graph-based algorithm for approximate nearest neighbor search, constructing a multi-layer graph for efficient querying.</p><p>Use Case: Balance between search accuracy and efficiency for medium to large-scale datasets.</p><p>Learn more at: <a href="https://www.pinecone.io/learn/series/faiss/hnsw/">https://www.pinecone.io/learn/series/faiss/hnsw/</a></p><h3><strong>Part 3) Paid Vector Storage Solutions:</strong></h3><ol><li><strong>Pinecone</strong></li></ol><p>Description: A managed vector database service designed for similarity search and machine learning applications, offering high availability and low latency.</p><p>Use Case: Fully managed service for quick deployment of vector search capabilities without infrastructure management.</p><p>Learn more at: <a href="https://www.pinecone.io/">https://www.pinecone.io/</a></p><h3><strong>Part 4) Choosing the Right Vector Storage:</strong></h3><p><strong>Open Source</strong>: Suitable if you prefer control over the infrastructure, customization, and no licensing costs. Examples include FAISS, Milvus, Weaviate.</p><p><strong>Paid Services:</strong> Ideal if you want to offload infrastructure management, scaling, and maintenance to a third-party service provider. Examples include Pinecone and Elasticsearch Service with KNN Plugin.</p><p><strong>Reference:</strong></p><p>Appreciate the insights from these articles that helped organize the content. You too, check this out!</p><ol><li>Top 5 vector DB: <a href="https://www.datacamp.com/blog/the-top-5-vector-databases">https://www.datacamp.com/blog/the-top-5-vector-databases</a></li><li>Working of vector DB: <a href="https://www.pinecone.io/learn/vector-database/">https://www.pinecone.io/learn/vector-database/</a></li><li><a href="https://pynomial.com/2021/10/open-source-vector-databases-overview/">https://pynomial.com/2021/10/open-source-vector-databases-overview/</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e935f5036c44" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>