<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Umar Smith</title>
    <description>The latest articles on DEV Community by Umar Smith (@umarsmith).</description>
    <link>https://dev.to/umarsmith</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4282392%2Fa17d587a-603f-46c7-b545-c92d3e3bf4c4.png</url>
      <title>DEV Community: Umar Smith</title>
      <link>https://dev.to/umarsmith</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/umarsmith"/>
    <language>en</language>
    <item>
      <title>Why image optimisation matters more than you think</title>
      <dc:creator>Umar Smith</dc:creator>
      <pubDate>Fri, 04 Dec 2026 09:43:36 +0000</pubDate>
      <link>https://dev.to/umarsmith/why-image-optimisation-matters-more-than-you-think-5b6d</link>
      <guid>https://dev.to/umarsmith/why-image-optimisation-matters-more-than-you-think-5b6d</guid>
      <description>&lt;p&gt;Images are usually the heaviest part of a web page, and the part developers optimise last. On a typical content site, images account for more than half of all bytes transferred. Optimising them is often the single biggest performance win available — and it is also one of the cheapest to implement.&lt;/p&gt;

&lt;h2&gt;
  
  
  The cost of an unoptimised image
&lt;/h2&gt;

&lt;p&gt;Consider a common scenario: a hero image uploaded straight from a camera at 6000 × 4000 pixels and 8 MB, displayed in a slot that is 1200 pixels wide. The browser downloads 8 MB to show a fraction of it. On a 4G connection that is several seconds of loading, and on a metered mobile plan it is real money. Multiply that by a page with ten images and the page is slow before any JavaScript has run.&lt;/p&gt;

&lt;p&gt;The cost is not only loading time. Large images block rendering, push the Largest Contentful Paint (LCP) later, and compete with critical resources for bandwidth. An unoptimised image can be the difference between passing and failing Core Web Vitals.&lt;/p&gt;

&lt;h2&gt;
  
  
  Choose the right format
&lt;/h2&gt;

&lt;p&gt;Format choice matters more than most developers think:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AVIF&lt;/strong&gt; gives the best compression for photographs, often 30–50% smaller than JPEG at the same quality. Support is now good in all modern browsers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;WebP&lt;/strong&gt; is the safe middle ground: widely supported, much smaller than JPEG and PNG.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;JPEG&lt;/strong&gt; is the fallback for older browsers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PNG&lt;/strong&gt; is only for images that need transparency or sharp edges, like logos and diagrams — never for photographs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SVG&lt;/strong&gt; is for icons and simple graphics, where it is infinitely scalable and tiny.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Serve AVIF or WebP with a JPEG fallback using the &lt;code&gt;&amp;lt;picture&amp;gt;&lt;/code&gt; element, or let your image CDN handle format negotiation automatically.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;picture&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;source&lt;/span&gt; &lt;span class="na"&gt;srcset&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"photo.avif"&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"image/avif"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;source&lt;/span&gt; &lt;span class="na"&gt;srcset&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"photo.webp"&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"image/webp"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;img&lt;/span&gt; &lt;span class="na"&gt;src&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"photo.jpg"&lt;/span&gt; &lt;span class="na"&gt;width&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"1200"&lt;/span&gt; &lt;span class="na"&gt;height&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"800"&lt;/span&gt; &lt;span class="na"&gt;alt&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;""&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/picture&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Resize, don't just compress
&lt;/h2&gt;

&lt;p&gt;Compression helps, but resizing helps more. An image should never be larger than the largest size at which it is displayed. Use responsive images so each device gets the size it needs:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;img&lt;/span&gt; &lt;span class="na"&gt;src&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"photo-800.jpg"&lt;/span&gt;
     &lt;span class="na"&gt;srcset&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"photo-400.jpg 400w, photo-800.jpg 800w, photo-1600.jpg 1600w"&lt;/span&gt;
     &lt;span class="na"&gt;sizes&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"(max-width: 600px) 100vw, 800px"&lt;/span&gt;
     &lt;span class="na"&gt;width&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"800"&lt;/span&gt; &lt;span class="na"&gt;height&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"533"&lt;/span&gt; &lt;span class="na"&gt;alt&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;""&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A phone on a small screen gets the 400w file; a desktop gets the 800w or 1600w file. Nobody downloads more than they need.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lazy loading and decoding
&lt;/h2&gt;

&lt;p&gt;Images below the fold should be lazy-loaded with &lt;code&gt;loading="lazy"&lt;/code&gt;, so they are only fetched when the user scrolls near them. Images above the fold — especially the hero — should load eagerly, with &lt;code&gt;fetchpriority="high"&lt;/code&gt;. Getting this backwards is a classic mistake: lazy-loading the hero image delays LCP by the time it takes the browser to notice it is needed.&lt;/p&gt;

&lt;p&gt;Add &lt;code&gt;decoding="async"&lt;/code&gt; to images so decoding does not block the main thread, and always set &lt;code&gt;width&lt;/code&gt; and &lt;code&gt;height&lt;/code&gt; so the browser can reserve space and avoid layout shift (CLS).&lt;/p&gt;

&lt;h2&gt;
  
  
  Automate it
&lt;/h2&gt;

&lt;p&gt;Manual optimisation does not scale. The reliable approach is to automate it in the build or at the edge:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Build-time:&lt;/strong&gt; tools like Sharp, Squoosh or ImageMagick can generate resized, multi-format variants of every image as part of the build.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CDN:&lt;/strong&gt; an image CDN (Cloudinary, Imgix, or Cloudflare Images) can resize, convert and compress on the fly from URL parameters.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CMS:&lt;/strong&gt; most modern CMSs generate responsive variants automatically — check that yours is configured to do so, and that the templates actually use the variants.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Whatever the pipeline, add a check: a CI step that fails the build if an image over a size threshold is committed, or a Lighthouse audit that flags oversized images, will catch regressions before they reach production.&lt;/p&gt;

&lt;h2&gt;
  
  
  Measuring the difference
&lt;/h2&gt;

&lt;p&gt;Take one heavy page, optimise its images, and compare the before and after in PageSpeed Insights. It is common to see LCP drop by a second or more, total page weight fall by 70%, and the mobile score jump an entire colour band. That is the result of changing a handful of files — no architecture change, no framework migration, no rewrite.&lt;/p&gt;

&lt;p&gt;Image optimisation is not glamorous work. But it is the highest-return performance work most sites have available, and it is the work users feel most directly: a page that appears instantly instead of one that stutters in, image by image.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>performance</category>
    </item>
    <item>
      <title>How to make a small business website fast: a practical checklist</title>
      <dc:creator>Umar Smith</dc:creator>
      <pubDate>Fri, 04 Dec 2026 09:37:06 +0000</pubDate>
      <link>https://dev.to/umarsmith/how-to-make-a-small-business-website-fast-a-practical-checklist-5aeo</link>
      <guid>https://dev.to/umarsmith/how-to-make-a-small-business-website-fast-a-practical-checklist-5aeo</guid>
      <description>&lt;p&gt;A small business website is fast when its Largest Contentful Paint is under 2.5 seconds, its pages respond to input in under 200 milliseconds, and nothing on the page shifts while it loads. This checklist covers the fixes that actually move those numbers — in the order you should do them.&lt;/p&gt;

&lt;p&gt;Small business sites are usually slow for boring reasons: oversized images, too many plugins, cheap shared hosting, and third-party scripts nobody remembers adding. The good news is that most of the fixes are cheap and do not require a rebuild. Work through this list, measure after each step, and stop when the numbers are green.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Measure first, guess never
&lt;/h2&gt;

&lt;p&gt;Run the site through PageSpeed Insights and note the field data — the real-user numbers at the top of the report — not just the lab score. Record LCP, INP and CLS for the home page and the most-visited service page. If the site has no field data yet, use Lighthouse in Chrome DevTools as a starting point, and re-check PageSpeed Insights after the site has had some traffic.&lt;/p&gt;

&lt;p&gt;Keep a simple before-and-after record. It stops you from optimising things that do not matter, and it shows the business owner what the work achieved.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Fix the hosting and the server
&lt;/h2&gt;

&lt;p&gt;A slow server makes everything else late. Check Time to First Byte (TTFB) — it should be under 800 milliseconds, and under 200 milliseconds is better. If TTFB is over a second, the hosting is the problem, not the code. Move to a host with server-side caching and a data centre near the site's visitors, and put the site behind a CDN so static files are served from a server close to the user.&lt;/p&gt;

&lt;p&gt;Enable HTTP/2 or HTTP/3, turn on compression (Brotli or gzip), and make sure the server sends long cache headers for static assets. A returning visitor should barely need to download anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Optimise images — the biggest single win
&lt;/h2&gt;

&lt;p&gt;Images are the largest files on most small business sites, and the most commonly wasted bytes. For every image:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Serve it in AVIF or WebP, with a JPEG fallback.&lt;/li&gt;
&lt;li&gt;Resize it to the largest size it is actually displayed at — a 4000px photo in a 800px slot is four times larger than it needs to be.&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;srcset&lt;/code&gt; so phones get a smaller file than desktops.&lt;/li&gt;
&lt;li&gt;Set &lt;code&gt;width&lt;/code&gt; and &lt;code&gt;height&lt;/code&gt; attributes so the browser reserves space and the layout does not shift.&lt;/li&gt;
&lt;li&gt;Lazy-load images below the fold, but never lazy-load the hero image.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;img&lt;/span&gt; &lt;span class="na"&gt;src&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"hero.avif"&lt;/span&gt; &lt;span class="na"&gt;srcset&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"hero-800.avif 800w, hero-1600.avif 1600w"&lt;/span&gt;
     &lt;span class="na"&gt;sizes&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"(max-width: 600px) 100vw, 800px"&lt;/span&gt;
     &lt;span class="na"&gt;width&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"1600"&lt;/span&gt; &lt;span class="na"&gt;height&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"900"&lt;/span&gt; &lt;span class="na"&gt;fetchpriority&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"high"&lt;/span&gt; &lt;span class="na"&gt;alt&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;""&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  4. Cut the JavaScript
&lt;/h2&gt;

&lt;p&gt;Audit every script on the page. Chat widgets, social feeds, sliders, analytics and tag managers all cost main-thread time. Remove anything the business does not use, and defer everything that is not needed for the first paint. For WordPress sites, this usually means removing unused plugins — each one adds CSS and JavaScript whether it is used on that page or not.&lt;/p&gt;

&lt;p&gt;If a script is needed, load it with &lt;code&gt;defer&lt;/code&gt; or &lt;code&gt;async&lt;/code&gt;, and consider loading heavy widgets only after the user interacts with them — a chat widget that loads on first click is far cheaper than one that loads on every visit.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Tame the CSS
&lt;/h2&gt;

&lt;p&gt;Remove unused CSS, inline the critical CSS needed for the first screen, and load the rest asynchronously. Most page builders and themes ship far more CSS than any one page uses. A single minified stylesheet is usually faster than ten small ones, because each file is a separate request.&lt;/p&gt;

&lt;p&gt;Also check web fonts: use &lt;code&gt;font-display: swap&lt;/code&gt;, subset fonts to the characters you need, and self-host them instead of loading them from a third-party service. A font that blocks rendering can cost half a second on its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Fix layout shift
&lt;/h2&gt;

&lt;p&gt;Reserve space for everything that loads late: images, videos, ads and embeds. Never inject a banner, cookie notice or pop-up above content that is already on screen — that is the most common cause of layout shift on small business sites. If a cookie banner is needed, put it at the bottom of the viewport so it never pushes content around.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Cache aggressively and keep it simple
&lt;/h2&gt;

&lt;p&gt;Use a page cache on the server, set long cache lifetimes for static files, and avoid redirect chains — each redirect costs a round trip. Keep the page count of requests low: a home page with 150 requests is doing something wrong, however small each file is.&lt;/p&gt;

&lt;h2&gt;
  
  
  When to get help
&lt;/h2&gt;

&lt;p&gt;If the checklist is done and the site is still slow, the problem is usually structural: a heavy theme, a page builder with too much overhead, or hosting that cannot be fixed with settings. At that point it is worth getting a professional opinion. A &lt;a href="https://lumenxstudios.com/locations/doncaster/web-design-company/" rel="noopener noreferrer"&gt;web design agency doncaster&lt;/a&gt; that builds performance into its sites can usually tell in an hour whether the site needs targeted fixes or a rebuild — and a rebuild that is built for speed from the start is often cheaper than months of patching a slow one.&lt;/p&gt;

&lt;h2&gt;
  
  
  The checklist, in short
&lt;/h2&gt;

&lt;p&gt;Measure the field data. Fix hosting and TTFB. Optimise every image. Remove unused JavaScript and plugins. Inline critical CSS and self-host fonts. Reserve space for late-loading content. Cache everything. Then measure again — the numbers will tell you whether the work did its job.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>performance</category>
      <category>webdesign</category>
    </item>
    <item>
      <title>Core Web Vitals basics every developer should know</title>
      <dc:creator>Umar Smith</dc:creator>
      <pubDate>Fri, 04 Dec 2026 09:35:39 +0000</pubDate>
      <link>https://dev.to/umarsmith/core-web-vitals-basics-every-developer-should-know-32cp</link>
      <guid>https://dev.to/umarsmith/core-web-vitals-basics-every-developer-should-know-32cp</guid>
      <description>&lt;p&gt;Core Web Vitals are three metrics Google uses to measure how a page feels to use: Largest Contentful Paint (LCP) for loading, Interaction to Next Paint (INP) for responsiveness, and Cumulative Layout Shift (CLS) for visual stability. If you build for the web, these three numbers are the baseline for a good user experience — and they feed into search rankings too.&lt;/p&gt;

&lt;h2&gt;
  
  
  The three metrics, in plain terms
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Largest Contentful Paint (LCP)&lt;/strong&gt; measures how long the largest visible element takes to render — usually the hero image or the main heading. Google's target is under 2.5 seconds. LCP is slow when the server is slow, when render-blocking CSS and JavaScript delay the first paint, or when the hero image is huge and unoptimised.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Interaction to Next Paint (INP)&lt;/strong&gt; measures how quickly the page responds when a user clicks, taps or types. The target is under 200 milliseconds. INP is bad when the main thread is busy: long JavaScript tasks, heavy event handlers and third-party scripts all block the browser from responding to input.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cumulative Layout Shift (CLS)&lt;/strong&gt; measures how much the page moves around while it loads. The target is a score below 0.1. CLS is caused by images without dimensions, web fonts swapping in, and content injected above existing content — like a banner or an ad loading late.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to measure them
&lt;/h2&gt;

&lt;p&gt;The numbers you see in Lighthouse are lab data: useful, but not what real users experience. The numbers that matter are field data, from real users on real devices, which you can see in PageSpeed Insights or the Chrome User Experience Report (CrUX). A page can pass in the lab and fail in the field, especially on slow mobile connections.&lt;/p&gt;

&lt;p&gt;For local debugging, use the Web Vitals extension for Chrome, or the Performance panel in DevTools. Both show the metrics as you interact with the page, which is exactly how INP needs to be measured — it only exists once a user interacts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fixing LCP
&lt;/h2&gt;

&lt;p&gt;Start with the server: a slow Time to First Byte (TTFB) makes everything else late. Then look at the critical path. Inline critical CSS, defer non-critical JavaScript, and preload the hero image with &lt;code&gt;fetchpriority="high"&lt;/code&gt;. If the hero is an image, serve it in a modern format (AVIF or WebP), size it correctly for the viewport, and make sure it is not being lazy-loaded — lazy-loading the largest element on the page is one of the most common LCP mistakes.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;img&lt;/span&gt; &lt;span class="na"&gt;src&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"hero.avif"&lt;/span&gt; &lt;span class="na"&gt;fetchpriority&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"high"&lt;/span&gt; &lt;span class="na"&gt;width&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"1200"&lt;/span&gt; &lt;span class="na"&gt;height&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"800"&lt;/span&gt; &lt;span class="na"&gt;alt&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;""&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Fixing INP
&lt;/h2&gt;

&lt;p&gt;Break up long tasks. Any JavaScript task over 50 milliseconds blocks the main thread, and the browser cannot respond to input while it runs. Use &lt;code&gt;setTimeout&lt;/code&gt; or &lt;code&gt;scheduler.yield()&lt;/code&gt; to split heavy work, avoid doing expensive work inside event handlers, and audit third-party scripts — chat widgets, analytics and tag managers are frequent offenders. Code-splitting so that only the JavaScript needed for the current view is loaded also helps, because less code means less work on the main thread.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fixing CLS
&lt;/h2&gt;

&lt;p&gt;Always set &lt;code&gt;width&lt;/code&gt; and &lt;code&gt;height&lt;/code&gt; (or an &lt;code&gt;aspect-ratio&lt;/code&gt;) on images and video, so the browser reserves the right amount of space before they load. Reserve space for ads and embeds too, and never insert content above existing content after the page has rendered. For web fonts, use &lt;code&gt;font-display: swap&lt;/code&gt; and match fallback font metrics with &lt;code&gt;size-adjust&lt;/code&gt; so the swap does not shift the text.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;img&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;aspect-ratio&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  A practical workflow
&lt;/h2&gt;

&lt;p&gt;Check the field data first, fix the worst metric, and re-measure. Most sites have one dominant problem: a slow hero image, a chat widget blocking input, or images without dimensions. Fix that one thing, ship it, and measure again. Core Web Vitals are not a one-off audit — they drift as features are added, so put the metrics in your CI pipeline or monitor them in production. The goal is not a perfect score; it is a page that loads fast, responds instantly and never jumps around under the user's cursor.&lt;/p&gt;

</description>
      <category>seo</category>
      <category>webdev</category>
      <category>performance</category>
    </item>
  </channel>
</rss>
