<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>https://web.dev/</id>
  <title>Anshu Sharma on web.dev</title>
  <updated>2026-04-15T23:21:06Z</updated>
  <author>
    <name>Anshu Sharma</name>
  </author>
  <link href="https://web.dev/authors/anshusharma/feed.xml" rel="self"/>
  <link href="https://web.dev/"/>
  <icon>https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/oNcJwYe68di724tSCBj8.png?auto=format</icon>
  <logo>https://web.dev/images/shared/rss-banner.png</logo>
  <subtitle>Head of Engineering at The Economic Times</subtitle>
  
  
  <entry>
    <title>How The Economic Times passed Core Web Vitals thresholds and achieved an overall 43% better bounce rate</title>
    <link href="https://web.dev/economic-times-cwv/"/>
    <updated>2021-12-21T00:00:00Z</updated>
    <id>https://web.dev/economic-times-cwv/</id>
    <content type="html" mode="escaped">&lt;p&gt;With internet speeds improving day-by-day, users expect websites to respond and behave faster than ever. &lt;a href=&quot;https://m.economictimes.com/&quot; rel=&quot;noopener&quot;&gt;The Economic Times&lt;/a&gt; handles over 45 million monthly active users. By optimizing for Core Web Vitals across the domain, on AMP and non-AMP pages, we managed to significantly reduce bounce rates and improve the reading experience.&lt;/p&gt;
&lt;h2 id=&quot;measuring-the-impact&quot;&gt;Measuring the Impact &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#measuring-the-impact&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;We focused on &lt;a href=&quot;https://web.dev/lcp/&quot;&gt;Largest Contentful Paint (LCP)&lt;/a&gt; and &lt;a href=&quot;https://web.dev/cls/&quot;&gt;Cumulative Layout Shift (CLS)&lt;/a&gt;, as they matter the most when it comes to providing a great reading experience to our users. After implementing various performance fixes as described below, The Economic Times managed to improve Chrome User Experiments (CrUX) report metrics significantly within a few months.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Overall, CLS improved&lt;/strong&gt; by 250% from 0.25 to 0.09.
&lt;strong&gt;Overall, LCP improved&lt;/strong&gt; by 80% from 4.5 seconds to 2.5 seconds.&lt;/p&gt;
&lt;p&gt;Further, LCP values in the &amp;quot;Poor&amp;quot; range were reduced by 33% from October 2020 to July 2021:&lt;/p&gt;
&lt;figure&gt;
  &lt;img alt=&quot;LCP distributions grouped by month, starting from October 2020 and ending in July 2021. The amount of LCP values classified as &amp;#x27;Poor&amp;#x27; was reduced from 15.03% to 10.08%.&quot; decoding=&quot;async&quot; height=&quot;477&quot; loading=&quot;lazy&quot; sizes=&quot;(min-width: 800px) 800px, calc(100vw - 48px)&quot; src=&quot;https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&quot; srcset=&quot;https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=200 200w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=228 228w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=260 260w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=296 296w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=338 338w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=385 385w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=439 439w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=500 500w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=571 571w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=650 650w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=741 741w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=845 845w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=964 964w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=1098 1098w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=1252 1252w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=1428 1428w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/1mrpePbYaQeKbIDJKo8b.png?auto=format&amp;w=1600 1600w&quot; width=&quot;800&quot; /&gt;
&lt;/figure&gt;
&lt;p&gt;Additionally, CLS values in the &amp;quot;Poor&amp;quot; range were reduced by 65%, and CLS values in the &amp;quot;Good&amp;quot; range increased by 20% in the same timeframe:&lt;/p&gt;
&lt;figure&gt;
  &lt;img alt=&quot;CLS distributions grouped by month, starting from October 2020 and ending in July 2021. The amount of CLS values classified as &amp;#x27;Poor&amp;#x27; was reduced from 25.92% to 9%, and the amount of CLS values classified as &amp;#x27;Good&amp;#x27; increased from 62.62% to 76.5%.&quot; decoding=&quot;async&quot; height=&quot;463&quot; loading=&quot;lazy&quot; sizes=&quot;(min-width: 800px) 800px, calc(100vw - 48px)&quot; src=&quot;https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&quot; srcset=&quot;https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=200 200w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=228 228w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=260 260w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=296 296w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=338 338w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=385 385w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=439 439w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=500 500w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=571 571w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=650 650w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=741 741w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=845 845w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=964 964w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=1098 1098w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=1252 1252w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=1428 1428w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/NK3g38biuTH12zGzncHK.png?auto=format&amp;w=1600 1600w&quot; width=&quot;800&quot; /&gt;
&lt;/figure&gt;
&lt;p&gt;The result was that The Economic Times—which was previously not meeting CWV thresholds—now passed CWV thresholds across its entire origin and &lt;strong&gt;reduced bounce rates by 43% overall&lt;/strong&gt;.&lt;/p&gt;
&lt;figure&gt;
  &lt;video autoplay=&quot;&quot; loop=&quot;&quot; muted=&quot;&quot; playsinline=&quot;&quot;&gt;      &lt;source src=&quot;https://storage.googleapis.com/web-dev-uploads/video/jL3OLOhcWUQDnR4XjewLBx4e3PC3/6C1gW9oQu7Njds1Gdpmv.mp4&quot; type=&quot;video/mp4&quot; /&gt;    &lt;/video&gt;
  &lt;figcaption&gt;
    A before and after animation of The Economic Times&#39;s Article page.
  &lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h2 id=&quot;what-is-lcp-and-how-did-we-improve-it&quot;&gt;What is LCP and how did we improve it? &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#what-is-lcp-and-how-did-we-improve-it&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The largest element is the most relevant one for improving user experience and recognizing load speed. Performance metrics like &lt;a href=&quot;https://web.dev/fcp/&quot;&gt;First Contentful Paint (FCP)&lt;/a&gt; only capture the very initial experience of page loading. On the other hand, LCP reports the render time of the largest image, text or video section visible to the user.&lt;/p&gt;
&lt;p&gt;In addition to switching to a faster DNS provider and optimizing images, here are some of the techniques we applied we covered to improve LCP.&lt;/p&gt;
&lt;h3 id=&quot;critical-requests-first&quot;&gt;Critical requests first &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#critical-requests-first&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;As all modern browsers limit the concurrent number of requests, developers need to prioritize loading the critical content first. To load a complex web page we need to download assets such as header elements, CSS, JavaScript resources, hero image, article body, comments, other related news, footer, and ads. We evaluated what elements were required for LCP, and provided the preference to load those items first to improve LCP. We also deferred the calls that were not part of the initial page rendering.&lt;/p&gt;
&lt;h3 id=&quot;text-appearance&quot;&gt;Text appearance &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#text-appearance&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;We experimented with the &lt;a href=&quot;https://developer.mozilla.org/docs/Web/CSS/@font-face/font-display&quot; rel=&quot;noopener&quot;&gt;&lt;code&gt;font-display&lt;/code&gt; property&lt;/a&gt; as this impacts both LCP and CLS. We tried &lt;code&gt;font-display: auto;&lt;/code&gt; and then switched to &lt;code&gt;font-display: swap;&lt;/code&gt;. This renders the text initially in the best matching and available font, then switches to the font when it has been downloaded. This resulted in our text rendering quickly, independent of network speed.&lt;/p&gt;
&lt;h3 id=&quot;better-compression&quot;&gt;Better Compression &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#better-compression&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;&lt;a href=&quot;http://github.com/google/brotli/&quot; rel=&quot;noopener&quot;&gt;Brotli&lt;/a&gt; is an alternative compression algorithm to Gzip and Deflate developed by Google. We replaced our fonts and assets and changed server compression from Gzip to Brotli to achieve a smaller footprint:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Javascript files are 15% smaller than with Gzip.&lt;/li&gt;
&lt;li&gt;HTML files are 18% smaller than with Gzip.&lt;/li&gt;
&lt;li&gt;CSS and font files are 17% smaller than with Gzip.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;preconnect-to-third-party-domains&quot;&gt;Preconnect to third-party domains &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#preconnect-to-third-party-domains&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;&lt;a href=&quot;https://web.dev/preconnect-and-dns-prefetch/#establish-early-connections-with-relpreconnect&quot;&gt;&lt;code&gt;preconnect&lt;/code&gt;&lt;/a&gt; should be used carefully as it can still take up valuable CPU time, and delay other important resources, especially on secure connections.&lt;/p&gt;
&lt;p&gt;However, if it&#39;s known that a fetch for a resource on a third-party domain will occur, &lt;code&gt;preconnect&lt;/code&gt; is good. If it only happens occasionally on a high traffic website, &lt;code&gt;preconnect&lt;/code&gt; might trigger unnecessary TCP and TLS work. Thus &lt;a href=&quot;https://web.dev/preconnect-and-dns-prefetch/#resolve-domain-name-early-with-reldns-prefetch&quot;&gt;&lt;code&gt;dns-prefetch&lt;/code&gt;&lt;/a&gt; was a better fit for third-party resources—for example, social media, analytics, etc.—to perform DNS lookups ahead of time.&lt;/p&gt;
&lt;h3 id=&quot;break-up-code-into-chunks&quot;&gt;Break up code into chunks &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#break-up-code-into-chunks&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;In the site&#39;s head, we only loaded those resources which contain either an essential part of the business logic or were &lt;a href=&quot;https://github.com/addyosmani/critical&quot; rel=&quot;noopener&quot;&gt;critical&lt;/a&gt; for above the fold page rendering. Furthermore, we split our code into chunks with &lt;a href=&quot;https://loadable-components.com/docs/code-splitting/&quot; rel=&quot;noopener&quot;&gt;code splitting&lt;/a&gt;. This helped us to further improve page LCP.&lt;/p&gt;
&lt;h3 id=&quot;better-caching&quot;&gt;Better caching &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#better-caching&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;For all the front-end routes, we added a &lt;a href=&quot;https://en.wikipedia.org/wiki/Redis&quot; rel=&quot;noopener&quot;&gt;Redis&lt;/a&gt; layer which served templates from the cache. This reduces the computation time on the server and builds the whole UI in each request, thus decreasing LCP in subsequent requests.&lt;/p&gt;
&lt;h3 id=&quot;summarizing-lcp-goals-and-achievements&quot;&gt;Summarizing LCP Goals and achievements &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#summarizing-lcp-goals-and-achievements&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Before beginning the optimization project, the team benchmarked their LCP score at &lt;strong&gt;4.5 seconds&lt;/strong&gt; (for the 75th percentile of their users, based on CrUX report field data). After the optimization project, it was reduced to &lt;strong&gt;2.5 seconds&lt;/strong&gt;.&lt;/p&gt;
&lt;figure&gt;
  &lt;img alt=&quot;LCP distributions from September 2020 to June 2021. Overall, the 75th percentile of LCP values observed in the Chrome User Experience report showed an 8.97% reduction in &amp;#x27;Poor&amp;#x27; LCP values. The overall decrease in LCP time at the 75th percentile was 200 milliseconds, with 77.63% of LCP values falling in the &amp;#x27;Good&amp;#x27; range.&quot; decoding=&quot;async&quot; height=&quot;596&quot; loading=&quot;lazy&quot; sizes=&quot;(min-width: 800px) 800px, calc(100vw - 48px)&quot; src=&quot;https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&quot; srcset=&quot;https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=200 200w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=228 228w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=260 260w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=296 296w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=338 338w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=385 385w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=439 439w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=500 500w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=571 571w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=650 650w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=741 741w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=845 845w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=964 964w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=1098 1098w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=1252 1252w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=1428 1428w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/DsNmTCU3JTpWAam7a3df.png?auto=format&amp;w=1600 1600w&quot; width=&quot;800&quot; /&gt;
  &lt;figcaption&gt;
    Source: CrUX Report of The Economic Times overall LCP
  &lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h2 id=&quot;what-is-cls-and-how-did-we-improve-it&quot;&gt;What is CLS and how did we improve it? &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#what-is-cls-and-how-did-we-improve-it&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Have you ever noticed any unexpected movement of page content while browsing a website? One cause of this is asynchronous loading of media (images, videos, ads, etc.) on the page with unknown dimensions. As soon as media resources load, they shift the layout of the page.&lt;/p&gt;
&lt;aside class=&quot;aside flow bg-state-info-bg color-state-info-text&quot;&gt;&lt;div class=&quot; flow&quot;&gt; For more information on CLS, read the &lt;a href=&quot;https://web.dev/cls/&quot;&gt;CLS metric page&lt;/a&gt;. &lt;/div&gt;&lt;/aside&gt;
&lt;p&gt;We&#39;re going to cover the measures we took to improve CLS on the The Economic Times website.&lt;/p&gt;
&lt;h3 id=&quot;use-placeholders&quot;&gt;Use placeholders &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#use-placeholders&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;We used a styled placeholder for ad units and media elements of known dimensions to avoid layout shifts when the ad library loads and renders page ads. This ensures layout shifts are eliminated by reserving space for the ad.&lt;/p&gt;
&lt;figure&gt;
  &lt;img alt=&quot;A side-by-side comparison of The Economic Times website as shown on a mobile phone. At left, a gray placeholder is reserved for the article hero image. At right, the placeholder is replaced with the loaded image.&quot; decoding=&quot;async&quot; height=&quot;647&quot; loading=&quot;lazy&quot; sizes=&quot;(min-width: 800px) 800px, calc(100vw - 48px)&quot; src=&quot;https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&quot; srcset=&quot;https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=200 200w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=228 228w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=260 260w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=296 296w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=338 338w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=385 385w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=439 439w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=500 500w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=571 571w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=650 650w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=741 741w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=845 845w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=964 964w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=1098 1098w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=1252 1252w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=1428 1428w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/ujvqcVK7usp89zn6njAN.jpg?auto=format&amp;w=1600 1600w&quot; width=&quot;800&quot; /&gt;
&lt;/figure&gt;
&lt;h3 id=&quot;defined-container-dimensions&quot;&gt;Defined container dimensions &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#defined-container-dimensions&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;We specified explicit dimensions for all images and containers so that the browser engine doesn&#39;t need to calculate the DOM elements&#39; width and height once they are available. This avoided unnecessary layout shifts and extra painting work.&lt;/p&gt;
&lt;h3 id=&quot;summarizing-cls-goals-and-achievements&quot;&gt;Summarizing CLS goals and achievements &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#summarizing-cls-goals-and-achievements&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Before beginning the optimization project, the team benchmarked their CLS score at &lt;strong&gt;0.25&lt;/strong&gt;. We were able to reduce it significantly by &lt;strong&gt;90%&lt;/strong&gt; to &lt;strong&gt;0.09&lt;/strong&gt;.&lt;/p&gt;
&lt;figure&gt;
  &lt;img alt=&quot;CLS distributions shown in the Chrome User Experience Report. 76% of CLS values are &amp;#x27;Good&amp;#x27;, 15% are &amp;#x27;Fair&amp;#x27;, and 9% are &amp;#x27;Poor&amp;#x27;. The 75th percentile of user experiences on The Economic Times website overall experienced a CLS of 0.09.&quot; decoding=&quot;async&quot; height=&quot;160&quot; loading=&quot;lazy&quot; sizes=&quot;(min-width: 694px) 694px, calc(100vw - 48px)&quot; src=&quot;https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&quot; srcset=&quot;https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&amp;w=200 200w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&amp;w=228 228w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&amp;w=260 260w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&amp;w=296 296w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&amp;w=338 338w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&amp;w=385 385w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&amp;w=439 439w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&amp;w=500 500w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&amp;w=571 571w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&amp;w=650 650w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&amp;w=741 741w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&amp;w=845 845w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&amp;w=964 964w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&amp;w=1098 1098w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&amp;w=1252 1252w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/PvfZtgjSaShtmRASx5Mw.png?auto=format&amp;w=1388 1388w&quot; width=&quot;694&quot; /&gt;
&lt;/figure&gt;
&lt;h2 id=&quot;what-is-first-input-delay-fid-and-how-did-we-improve-it&quot;&gt;What is First Input Delay (FID) and how did we improve it? &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#what-is-first-input-delay-fid-and-how-did-we-improve-it&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;https://web.dev/fid/&quot;&gt;First Input Delay&lt;/a&gt; is the metric that tracks a website&#39;s responsiveness to user input. The primary cause of a poor FID score is heavy JavaScript work that keeps the browser&#39;s main thread busy, which can delay user interactions. We improved FID in several ways.&lt;/p&gt;
&lt;h3 id=&quot;break-up-long-javascript-tasks&quot;&gt;Break up long JavaScript tasks &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#break-up-long-javascript-tasks&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Long tasks are tasks that are 50 milliseconds or longer. Long tasks occupy the browser&#39;s main thread and prevent it from responding to user input. We broke up long running tasks into smaller tasks where possible on user request, which helped to reduce the Javascript bloat.&lt;/p&gt;
&lt;figure&gt;
  &lt;img alt=&quot;CPU time broken down by activity type in the performance panel of Chrome&amp;#x27;s DevTools. 143 milliseconds was spent scheduling the loading of resources. 4553 milliseconds was spent on JavaScript. 961 milliseconds was spent on rendering work. 191 milliseconds was spent on painting operations. 1488 milliseconds on system tasks, with 3877 milliseconds of idle time. The total timeframe was 11212 milliseconds.&quot; decoding=&quot;async&quot; height=&quot;501&quot; loading=&quot;lazy&quot; sizes=&quot;(min-width: 800px) 800px, calc(100vw - 48px)&quot; src=&quot;https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&quot; srcset=&quot;https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=200 200w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=228 228w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=260 260w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=296 296w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=338 338w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=385 385w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=439 439w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=500 500w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=571 571w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=650 650w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=741 741w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=845 845w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=964 964w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=1098 1098w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=1252 1252w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=1428 1428w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/rfFVGpifiTIaiMIFpTOv.png?auto=format&amp;w=1600 1600w&quot; width=&quot;800&quot; /&gt;
&lt;/figure&gt;
&lt;h3 id=&quot;defer-unused-javascript&quot;&gt;Defer unused JavaScript &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#defer-unused-javascript&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;We prioritized page content over third-party scripts such as analytics to keep the page more responsive. However, there are certain limitations on some libraries since they need to be loaded in the document &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; in order to accurately track the user journey.&lt;/p&gt;
&lt;h3 id=&quot;reduce-polyfills&quot;&gt;Reduce polyfills &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#reduce-polyfills&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;We reduced our dependency on certain polyfills and libraries, since browsers provide support for modern APIs, and less users are using legacy browsers, such as Internet Explorer.&lt;/p&gt;
&lt;h3 id=&quot;lazy-load-ads&quot;&gt;Lazy load ads &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#lazy-load-ads&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Lazily loading below-the-fold ads helped cut down main thread blocking time and thereby improved FID.&lt;/p&gt;
&lt;h3 id=&quot;summarizing-fid-goals-and-achievements&quot;&gt;Summarizing FID goals and achievements &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#summarizing-fid-goals-and-achievements&quot;&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;From routine experiments, we were able to reduce our FID from 200 ms to under 50 ms today.&lt;/p&gt;
&lt;figure&gt;
  &lt;img alt=&quot;FID distributions shown in the Chrome User Experience Report. 86% of CLS values are &amp;#x27;Good&amp;#x27;, 10% are &amp;#x27;Fair&amp;#x27;, and 4% are &amp;#x27;Poor&amp;#x27;. The 75th percentile of user experiences on The Economic Times website overall experienced a FID of 44 milliseconds.&quot; decoding=&quot;async&quot; height=&quot;190&quot; loading=&quot;lazy&quot; sizes=&quot;(min-width: 720px) 720px, calc(100vw - 48px)&quot; src=&quot;https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&quot; srcset=&quot;https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=200 200w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=228 228w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=260 260w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=296 296w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=338 338w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=385 385w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=439 439w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=500 500w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=571 571w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=650 650w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=741 741w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=845 845w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=964 964w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=1098 1098w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=1252 1252w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=1428 1428w, https://web-dev.imgix.net/image/jL3OLOhcWUQDnR4XjewLBx4e3PC3/bqZP6cbsJhryp5E17dPV.png?auto=format&amp;w=1440 1440w&quot; width=&quot;720&quot; /&gt;
&lt;/figure&gt;
&lt;h2 id=&quot;preventing-regressions&quot;&gt;Preventing regressions &lt;a class=&quot;headline-link&quot; href=&quot;https://web.dev/economic-times-cwv/#preventing-regressions&quot;&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The Economics Times plans to introduce automated performance checks in production to avoid page performance regressions. They plan to evaluate Lighthouse-CI to automate lab tests, which can prevent regressions on their production branch.&lt;/p&gt;
</content>
    <author>
      <name>Anshu Sharma</name>
    </author><author>
      <name>Sumit Gugnani</name>
    </author><author>
      <name>Prashant Mishra</name>
    </author>
  </entry>
</feed>
