<?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: WPAgency</title>
    <description>The latest articles on DEV Community by WPAgency (@wpagency).</description>
    <link>https://dev.to/wpagency</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%2F4269179%2F1cd769a6-80b8-4730-be4d-1ca9909cfb74.png</url>
      <title>DEV Community: WPAgency</title>
      <link>https://dev.to/wpagency</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/wpagency"/>
    <language>en</language>
    <item>
      <title>Core Web Vitals for Scaling WordPress</title>
      <dc:creator>WPAgency</dc:creator>
      <pubDate>Fri, 27 Nov 2026 14:37:03 +0000</pubDate>
      <link>https://dev.to/wpagency/core-web-vitals-for-scaling-wordpress-3h71</link>
      <guid>https://dev.to/wpagency/core-web-vitals-for-scaling-wordpress-3h71</guid>
      <description>&lt;p&gt;Caching plugins are the first thing every WordPress performance guide recommends and the last thing that will save you at scale. W3 Total Cache and WP Super Cache solve a narrow problem well: serving pre-rendered HTML instead of executing PHP on every request. They don’t solve what actually drags down Core Web Vitals when traffic is real and the site is complex: server response under load, render-blocking and heavy JavaScript, image delivery, and database work that can’t be cached. This guide takes each in turn, then covers monitoring and how to tell when WordPress itself is the limit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why caching plugins fail at scale
&lt;/h2&gt;

&lt;p&gt;A caching plugin generates a static HTML file from a dynamic WordPress page and serves that file to later visitors, skipping PHP and the database for cached pages. For a small brochure site, that is often enough. For a large WooCommerce store with dynamic pricing and many logged-in customers, it covers only part of the problem, because so many requests can’t be served from the cache.&lt;/p&gt;

&lt;p&gt;Here is what caching doesn’t touch.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Server response time under concurrent load.&lt;/strong&gt; Cached HTML still has to be served by a web server. If hundreds of visitors arrive at once and the site sits on an entry-level shared plan, Time to First Byte (TTFB) climbs regardless of caching. You’ll see it as a long TTFB in PageSpeed Insights, and as a long first segment on the document request in a WebPageTest waterfall. The fix is infrastructure: properly sized hosting, a CDN with edge caching (Cloudflare or Fastly, for example), and HTTP/2 or HTTP/3.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Render-blocking and heavy scripts from plugins.&lt;/strong&gt; Every plugin that enqueues a script in the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; without &lt;code&gt;defer&lt;/code&gt; or &lt;code&gt;async&lt;/code&gt; adds a render-blocking resource: the browser can’t render the page until it has downloaded and run that script, which delays first paint and LCP. Caching the HTML doesn’t help, because the HTML still references the scripts. Heavy JavaScript causes a second problem after the page paints: long tasks on the main thread, which show up as Total Blocking Time in lab tests and as poor &lt;a href="https://wpagency.xyz/insights/inp-optimization-guide/" rel="noopener noreferrer"&gt;Interaction to Next Paint&lt;/a&gt; in the field. The visitor taps a button and nothing happens. Since WordPress 6.3, &lt;code&gt;wp_enqueue_script&lt;/code&gt; accepts a loading strategy, so well-maintained plugins and themes can load their scripts deferred.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Image delivery from the same origin.&lt;/strong&gt; A cached page still loads images from the WordPress uploads directory on the same server. Without a CDN, every image is a round trip to the origin. Without modern formats such as WebP and AVIF, images are usually much larger than they need to be. Caching the HTML while serving megabytes of unoptimized JPEGs from the origin is like fitting a spoiler to a car with flat tires.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Database work for dynamic content.&lt;/strong&gt; Anything that can’t be cached (user-specific data, live inventory, cart contents, personalized recommendations) still hits the database on every request, and WooCommerce generates a lot of it. A product page with variable pricing, stock status and related products can run dozens of queries. The answer here is object caching with Redis or Memcached, not page caching.&lt;/p&gt;

&lt;h2&gt;
  
  
  LCP at scale: the real bottlenecks
&lt;/h2&gt;

&lt;p&gt;Largest Contentful Paint measures when the biggest visible element finishes rendering. On most WordPress sites it is one of three things: a hero image, a web font rendering a headline, or a server that takes too long to respond. Each has a different fix.&lt;/p&gt;

&lt;h3&gt;
  
  
  Hero images
&lt;/h3&gt;

&lt;p&gt;On many pages, the hero image is the LCP element itself. A full-width JPEG hero exported for large desktop screens can weigh hundreds of kilobytes, and on a mobile connection that alone can push LCP past the 2.5-second “good” threshold.&lt;/p&gt;

&lt;p&gt;The fix is a proper &lt;code&gt;&amp;lt;picture&amp;gt;&lt;/code&gt; implementation:&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;"/img/hero-400.avif 400w, /img/hero-800.avif 800w, /img/hero-1200.avif 1200w"&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;"100vw"&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;"/img/hero-400.webp 400w, /img/hero-800.webp 800w, /img/hero-1200.webp 1200w"&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;"100vw"&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;"/img/hero-1200.jpg"&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;"Descriptive alt text"&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;"630"&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;decoding&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"async"&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;p&gt;Key details: &lt;code&gt;fetchpriority="high"&lt;/code&gt; tells the browser this image is critical and should load before other images. Do &lt;strong&gt;not&lt;/strong&gt; lazy-load images above the fold; &lt;code&gt;loading="lazy"&lt;/code&gt; on a hero image delays LCP by design. The &lt;code&gt;width&lt;/code&gt; and &lt;code&gt;height&lt;/code&gt; attributes prevent layout shift (more on that in the CLS section). AVIF usually compresses smaller than WebP at similar quality, and current browsers support both; the &lt;code&gt;&amp;lt;picture&amp;gt;&lt;/code&gt; fallback chain covers older ones.&lt;/p&gt;

&lt;h3&gt;
  
  
  Web fonts
&lt;/h3&gt;

&lt;p&gt;A custom web font can hold back text rendering until it downloads, so on a slow connection the visitor sees a blank headline (a “flash of invisible text”). The fixes are layered.&lt;/p&gt;

&lt;p&gt;Set &lt;code&gt;font-display: swap&lt;/code&gt; in your &lt;code&gt;@font-face&lt;/code&gt; declaration so the browser shows a system font immediately and swaps in the custom font when it arrives. Preload the WOFF2 file so the download starts early: &lt;code&gt;&amp;lt;link rel="preload" href="/fonts/heading.woff2" as="font" type="font/woff2" crossorigin&amp;gt;&lt;/code&gt;. Subset the font to the character ranges you actually use (many sites need only Latin), which can shrink the file considerably. And self-host rather than loading from Google Fonts, which means a connection to fonts.googleapis.com for the CSS, then another to fonts.gstatic.com for the font file. Self-hosting removes both extra connections.&lt;/p&gt;

&lt;h3&gt;
  
  
  Server response time
&lt;/h3&gt;

&lt;p&gt;If TTFB is consistently slow, no amount of front-end work will rescue LCP, because nothing can render before the first byte arrives. Check TTFB in WebPageTest (the “First Byte” metric) or in the DevTools Network panel (the “Waiting” time for the document request).&lt;/p&gt;

&lt;p&gt;On WordPress, slow TTFB usually comes down to uncached database work. Plugins are the usual culprits: WooCommerce, complex form plugins, analytics plugins that write to the database on every page load. Install Query Monitor, open the Queries panel and sort by time. Query Monitor highlights slow queries (by default, any taking longer than 0.05 seconds), and those are where to start.&lt;/p&gt;

&lt;p&gt;Object caching with Redis or Memcached keeps the results of database queries in memory, so repeat requests don’t hit MySQL. Unlike page caching, it helps dynamic, uncacheable content too. Many managed WordPress hosts offer Redis object caching, sometimes as an add-on. If yours can’t, that tells you something about the hosting tier.&lt;/p&gt;

&lt;h2&gt;
  
  
  CLS: the shift that costs clicks
&lt;/h2&gt;

&lt;p&gt;Cumulative Layout Shift measures how much visible content moves after it first renders. It is easy to miss in analytics and obvious to visitors. When someone is about to tap “Buy now” and the page jumps because an ad loaded above it, they tap the wrong thing. Some try again; some leave.&lt;/p&gt;

&lt;p&gt;Three sources cause most CLS on WordPress sites.&lt;/p&gt;

&lt;h3&gt;
  
  
  Images without dimensions
&lt;/h3&gt;

&lt;p&gt;When an &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; tag has no &lt;code&gt;width&lt;/code&gt; and &lt;code&gt;height&lt;/code&gt;, the browser doesn’t know how much space to reserve. It renders the text, then the image arrives and pushes everything down. The fix is simple: give every image explicit dimensions. WordPress adds them to images in post content automatically, but themes and page builders with custom image markup often leave them out, so check your theme’s templates.&lt;/p&gt;

&lt;h3&gt;
  
  
  Font loading reflow
&lt;/h3&gt;

&lt;p&gt;When a web font replaces the fallback font, text reflows because the two fonts have different metrics. &lt;code&gt;font-display: swap&lt;/code&gt; prevents invisible text but not the reflow. To minimize it, use &lt;code&gt;size-adjust&lt;/code&gt;, &lt;code&gt;ascent-override&lt;/code&gt; and &lt;code&gt;descent-override&lt;/code&gt; in your &lt;code&gt;@font-face&lt;/code&gt; rules so the fallback matches the web font’s metrics as closely as possible. The &lt;code&gt;fontaine&lt;/code&gt; library automates this. It’s a small detail that removes a persistent source of shift.&lt;/p&gt;

&lt;h3&gt;
  
  
  Injected elements
&lt;/h3&gt;

&lt;p&gt;Cookie banners, chat widgets, notification bars and sticky headers that push content down on load are some of the worst offenders. The fix is positional: anything that appears after the first render should be &lt;code&gt;position: fixed&lt;/code&gt; or &lt;code&gt;position: absolute&lt;/code&gt;, so it overlays the content instead of displacing it. A cookie notice fixed to the bottom of the viewport causes no layout shift. One that inserts itself at the top of the page and pushes everything down causes a shift on every page load for every visitor.&lt;/p&gt;

&lt;h2&gt;
  
  
  The plugin audit: what’s actually costing you
&lt;/h2&gt;

&lt;p&gt;Install &lt;a href="https://querymonitor.com/" rel="noopener noreferrer"&gt;Query Monitor&lt;/a&gt; on your staging site and load a representative page. Look at four things: database queries per page, slow queries, total HTTP requests, and the scripts and styles enqueued.&lt;/p&gt;

&lt;p&gt;Common offenders at scale:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Page builders (Elementor, Divi, WPBakery).&lt;/strong&gt; Builders have historically loaded much of their CSS and JavaScript on every page, whatever the page uses. Newer versions load more selectively, but builder-made pages still tend to carry far more code than they need. In PageSpeed Insights the symptoms are high Total Blocking Time and “Reduce unused CSS” flagged as a major opportunity. The fix is conditional loading (dequeue builder assets where they aren’t used) or, more practically, not using a page builder for performance-critical templates.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Form plugins on every page.&lt;/strong&gt; Some form plugins, Contact Form 7 among them, load their scripts and styles on every page by default, so one contact form means form assets on the whole site. Dequeue them on pages without a form. Many form plugins have a setting for this; if yours doesn’t, a conditional &lt;code&gt;wp_dequeue_script&lt;/code&gt; in the theme’s &lt;code&gt;functions.php&lt;/code&gt; handles it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Slider and carousel plugins.&lt;/strong&gt; These often bring jQuery (if the theme doesn’t already), their own JavaScript library and a CSS framework: a lot of weight for a pattern with a poor record for engagement. Remove them where you can. If a slider is a must, build it with CSS scroll-snap and a few lines of plain JavaScript instead of a heavy plugin.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Social sharing plugins.&lt;/strong&gt; Some load iframes or scripts from each social network on every page, and each iframe is a separate document with its own rendering work. Replace them with plain share links and SVG icons: no third-party JavaScript, no iframes, the same function.&lt;/p&gt;

&lt;h2&gt;
  
  
  When WordPress hits its ceiling, and when it doesn’t
&lt;/h2&gt;

&lt;p&gt;For most sites with standard content structures, a well-optimized WordPress stack handles the load. A good host on a currently supported PHP version, object caching, a CDN and disciplined plugin management can keep most templates in the “good” range. WordPress runs a large share of the web for a reason: the ecosystem is mature and the operational knowledge is deep.&lt;/p&gt;

&lt;p&gt;The ceiling appears in specific conditions: very large WooCommerce catalogs with variable pricing, real-time content (live inventory, dynamic pricing), or extreme bursts of concurrent traffic (flash sales, viral moments). At that point the PHP-per-request model becomes the bottleneck whatever the caching strategy.&lt;/p&gt;

&lt;p&gt;There are two ways past it. The first is headless WordPress: WordPress stays as the CMS, editors keep their familiar interface, and a separate front-end framework such as Astro or Next.js renders the pages, fetching content through the REST API or WPGraphQL and serving static HTML where it can. The second is leaving WordPress entirely. That is what &lt;a href="https://wpagency.xyz/work/roseville/" rel="noopener noreferrer"&gt;Roseville Landscape Material Supply&lt;/a&gt; did: its site moved from WordPress to a static Astro build, which took database queries, PHP execution and plugin overhead off every request.&lt;/p&gt;

&lt;p&gt;Leaving WordPress makes sense when the CMS itself is the problem: the editorial workflow doesn’t fit, or the plugin ecosystem has become more liability than asset. It is a bigger commitment with higher switching costs, and slowness alone is not a reason to migrate. Fix the &lt;a href="https://wpagency.xyz/services/wordpress/" rel="noopener noreferrer"&gt;WordPress site&lt;/a&gt; first. If the architecture is still the ceiling after optimization, then migrate.&lt;/p&gt;

&lt;h2&gt;
  
  
  Monitoring: how to know when you’ve regressed
&lt;/h2&gt;

&lt;p&gt;Two kinds of data matter. Field data is real-user measurement: Search Console’s Core Web Vitals report shows it, aggregated over 28 days from the Chrome UX Report, and it is what Google’s page experience assessment uses. Lab data is a single simulated load on a controlled device and connection: PageSpeed Insights runs one below its field data, and Lighthouse runs one locally. Lab data is for debugging; field data is the truth.&lt;/p&gt;

&lt;p&gt;Use both. Check Search Console weekly for regressions, and use PageSpeed Insights or Lighthouse when debugging specific pages.&lt;/p&gt;

&lt;p&gt;For automated regression detection, add Lighthouse CI to your pipeline. It runs Lighthouse against the pages you choose on every pull request and fails the check if results fall below your thresholds:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# .github/workflows/lighthouse.yml
&lt;/span&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Lighthouse CI&lt;/span&gt;
&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;pull_request&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;lighthouse&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu-latest&lt;/span&gt;
    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/checkout@v4&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/setup-node@v4&lt;/span&gt;
        &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;node-version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;24&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;npm install -g @lhci/cli&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;lhci autorun&lt;/span&gt;
        &lt;span class="na"&gt;env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;LHCI_GITHUB_APP_TOKEN&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${{ secrets.LHCI_GITHUB_APP_TOKEN }}&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Add a &lt;code&gt;lighthouserc.json&lt;/code&gt; that lists the pages to test and sets minimum thresholds. For a WordPress site, point &lt;code&gt;collect.url&lt;/code&gt; at staging pages that represent your key templates, and run each a few times, because lab results vary from run to run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"ci"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"collect"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"https://staging.example.com/"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"https://staging.example.com/shop/"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"numberOfRuns"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"assert"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"assertions"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;"categories:performance"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"error"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"minScore"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.9&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"first-contentful-paint"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"warn"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"maxNumericValue"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2000&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"largest-contentful-paint"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"error"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"maxNumericValue"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2500&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"cumulative-layout-shift"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"error"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"maxNumericValue"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.1&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&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;p&gt;This catches regressions before they reach production. Someone adds a plugin with a heavy script, the Lighthouse check fails, the pull request doesn’t merge, and the regression never ships. Treat the lab numbers as an alarm rather than a substitute for field data, and you have performance discipline built into the workflow instead of a quarterly audit that finds problems months too late.&lt;/p&gt;

&lt;p&gt;The decision rule: optimize WordPress first, and measure in the field. If the field data still fails on your key templates after the fixes above, the architecture is the limit, and a &lt;a href="https://wpagency.xyz/services/wordpress-to-astro/" rel="noopener noreferrer"&gt;WordPress-to-Astro migration&lt;/a&gt; removes per-request rendering altogether.&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>performance</category>
      <category>webperf</category>
      <category>seo</category>
    </item>
    <item>
      <title>The WordPress Technical Debt Audit Guide</title>
      <dc:creator>WPAgency</dc:creator>
      <pubDate>Fri, 27 Nov 2026 14:30:21 +0000</pubDate>
      <link>https://dev.to/wpagency/the-wordpress-technical-debt-audit-guide-55bc</link>
      <guid>https://dev.to/wpagency/the-wordpress-technical-debt-audit-guide-55bc</guid>
      <description>&lt;p&gt;This guide is the hands-on half of the technical debt question: how to measure the debt in a WordPress install, classify it, and turn the findings into a fix-or-rebuild decision. If you first need to make the business case, start with &lt;a href="https://wpagency.xyz/insights/technical-debt-wordpress-cost/" rel="noopener noreferrer"&gt;the business cost of WordPress technical debt&lt;/a&gt;, then come back here with a staging copy of your site.&lt;/p&gt;

&lt;p&gt;You will need admin access, database access (phpMyAdmin or a SQL client), Google Search Console, and an afternoon.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four forms debt takes
&lt;/h2&gt;

&lt;p&gt;WordPress debt shows up in four places, and they feed each other.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Plugin sprawl&lt;/strong&gt; is the most visible. A typical install starts with plugins for forms, email sync, SEO, image optimization, caching, security and backups, plus a snippets plugin because the theme has no clean hooks. Then come a store, a membership plugin, a course plugin and a second page builder someone installed for the marketing team. Past a certain count, nobody can see the dependencies anymore: one plugin needs a newer PHP version, another breaks on it, and a third only works alongside the second. Removing any piece might topple the stack.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Theme debt&lt;/strong&gt; lives in &lt;code&gt;functions.php&lt;/code&gt; and CSS overrides. One developer hacked a custom post type into the theme. Another added a few hundred lines of CSS to override the theme’s cascade. A third edited the parent theme directly because the child theme was not loading. The theme can no longer be updated, and the site is frozen on whatever version it was when the edits started.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Database debt&lt;/strong&gt; is invisible until you look. Deactivated plugins leave their rows in &lt;code&gt;wp_postmeta&lt;/code&gt; and &lt;code&gt;wp_options&lt;/code&gt;. Options nobody has touched in years still autoload on every request. Test content from an abandoned feature is still there. The number of queries per page creeps up, and nobody knows why.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Infrastructure debt&lt;/strong&gt; is the catch-all: hosting sized for the traffic you had years ago, no CDN, backups that run at peak hours, unindexed queries, a PHP version that is falling out of support.&lt;/p&gt;

&lt;p&gt;They compound. A plugin that does too much adds database queries, which exposes the hosting limits. A theme that is hard to change pushes developers toward workaround plugins, which adds to the sprawl.&lt;/p&gt;

&lt;h2&gt;
  
  
  Running the audit
&lt;/h2&gt;

&lt;p&gt;Work on a staging copy where you can, and collect data before forming opinions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Profile queries with Query Monitor
&lt;/h3&gt;

&lt;p&gt;Install &lt;a href="https://wordpress.org/plugins/query-monitor/" rel="noopener noreferrer"&gt;Query Monitor&lt;/a&gt;, a free debugging plugin (not a caching plugin). Load the homepage and a few key templates while logged in as an admin. Query Monitor shows how many queries fire, which are slow, which component triggered them, and which are duplicated. Look for patterns: a large share of time spent loading options points to autoload bloat, and a single plugin responsible for dozens of queries on a page that does not use it is a red flag.&lt;/p&gt;

&lt;h3&gt;
  
  
  Inventory the plugins
&lt;/h3&gt;

&lt;p&gt;Export the plugin list. For each one, record what it does and where it is used. A page builder behind most of your pages is load-bearing. A plugin installed “just in case” and used nowhere is debt. Then check maintenance: when it was last updated, which WordPress version it was tested up to, and whether the WordPress.org listing warns that it has not been tested with recent releases. A large install count is not a guarantee of maintenance; a recent update history is better evidence.&lt;/p&gt;

&lt;h3&gt;
  
  
  Examine the theme
&lt;/h3&gt;

&lt;p&gt;Open the child theme’s &lt;code&gt;functions.php&lt;/code&gt;. A few dozen lines is normal. Hundreds of lines usually means features that belong in plugins are living in the theme. Look for CSS selectors that target specific page or post IDs, and for edits made directly to the parent theme. On a local copy, switch to a default theme and load a few pages. If most functionality disappears, the site is theme-locked.&lt;/p&gt;

&lt;h3&gt;
  
  
  Measure scripts and styles
&lt;/h3&gt;

&lt;p&gt;Use the browser’s DevTools Network panel alongside Query Monitor. Count the CSS and JavaScript files on the homepage and on a typical content page, and note their total size. As a rough guide, more than a handful of stylesheets or a couple of dozen scripts on a content page usually means plugins and the theme are loading assets on pages that do not need them. Your own budget depends on the site; the point is to know the numbers and where each file comes from.&lt;/p&gt;

&lt;h3&gt;
  
  
  Quantify autoloaded options and post meta
&lt;/h3&gt;

&lt;p&gt;Find the largest autoloaded options. Since WordPress 6.6, the &lt;code&gt;autoload&lt;/code&gt; column can hold &lt;code&gt;on&lt;/code&gt;, &lt;code&gt;auto&lt;/code&gt; and &lt;code&gt;auto-on&lt;/code&gt; as well as the older &lt;code&gt;yes&lt;/code&gt;, so check for all of them (replace &lt;code&gt;wp_&lt;/code&gt; with your table prefix):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;option_name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;LENGTH&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;option_value&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;bytes&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;wp_options&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;autoload&lt;/span&gt; &lt;span class="k"&gt;IN&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'yes'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'on'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'auto-on'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'auto'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;ORDER&lt;/span&gt; &lt;span class="k"&gt;BY&lt;/span&gt; &lt;span class="n"&gt;bytes&lt;/span&gt; &lt;span class="k"&gt;DESC&lt;/span&gt;
&lt;span class="k"&gt;LIMIT&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Autoloaded data is read on every request, including API calls, so large serialized blobs from old plugins cost you on every page. Recent WordPress versions also flag a large autoload total in Site Health.&lt;/p&gt;

&lt;p&gt;Then look at post meta:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;meta_key&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;COUNT&lt;/span&gt;&lt;span class="cm"&gt;(*) AS rows_count
FROM wp_postmeta
GROUP BY meta_key
ORDER BY rows_count DESC
LIMIT 20;

&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Meta keys that belong to plugins you removed long ago are dead weight.&lt;/p&gt;

&lt;h3&gt;
  
  
  Check Core Web Vitals
&lt;/h3&gt;

&lt;p&gt;In Search Console, open the Core Web Vitals report and note how many URLs are Good, Need improvement and Poor. This is field data from real visitors. Then run PageSpeed Insights on a few representative templates to see which resources are responsible. Poor field data on templates that are heavy with plugins and theme assets is usually debt showing up where users feel it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Classify what you found
&lt;/h2&gt;

&lt;p&gt;Sort every finding into one of the four forms:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Plugin debt:&lt;/strong&gt; redundant, unmaintained or abandoned plugins; plugins duplicating features WordPress now has built in; plugins with open security advisories.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Theme debt:&lt;/strong&gt; hard-coded customizations in &lt;code&gt;functions.php&lt;/code&gt;, CSS targeting specific IDs, a parent theme that can no longer be updated, no child-theme separation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database debt:&lt;/strong&gt; a large autoload total, post meta from removed plugins, orphaned custom post types, unindexed meta keys used for filtering or sorting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Infrastructure debt:&lt;/strong&gt; a PHP version near or past end of security support, no CDN, no object or page caching, backups during peak traffic.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Remediate or rebuild
&lt;/h2&gt;

&lt;p&gt;The decision rule is simple: &lt;strong&gt;remediate local debt, rebuild systemic debt.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Debt is local when the plugins are few, maintained and purposeful; the theme can still be updated and uses standard hooks; the autoload total is modest; and most URLs pass Core Web Vitals. A focused cleanup handles it: remove unused plugins, delete dead meta, upgrade PHP, optimize images, add a CDN.&lt;/p&gt;

&lt;p&gt;Debt is systemic when plugins overlap and cannot be removed safely, the theme is a fork nobody can update, the database has grown in ways nobody can explain, a large share of URLs fail Core Web Vitals, or a page builder is the only way content gets made. Cleaning that up in place can cost as much as a rebuild and still leave you with the same architecture.&lt;/p&gt;

&lt;p&gt;Two of our own engagements show both paths. For &lt;a href="https://wpagency.xyz/work/roseville/" rel="noopener noreferrer"&gt;Roseville Landscape Material Supply&lt;/a&gt;, it was upkeep first and a rebuild later: we worked on its WordPress site from 2021, and in 2024 it moved to Astro, where static generation took the database queries, PHP execution and plugin overhead off every request. For the &lt;a href="https://wpagency.xyz/work/totallyamaha/" rel="noopener noreferrer"&gt;Totallyamaha network&lt;/a&gt; of Yamaha snowmobile forums, one of which Arun has administered since 2013, the answer has been continuous upkeep: three forums on one server, software kept current, and old threads kept at their original addresses. Continuous upkeep works when someone owns it; debt accumulates when nobody does.&lt;/p&gt;

&lt;h2&gt;
  
  
  The audit output
&lt;/h2&gt;

&lt;p&gt;Record the findings in a spreadsheet, one tab per area:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Plugins:&lt;/strong&gt; name, purpose, where used, last updated, tested-up-to version, debt level (low, medium, high).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Theme:&lt;/strong&gt; lines of custom code, number of ID-specific overrides, last update, lock-in risk.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database:&lt;/strong&gt; total size, autoload total, orphaned meta rows, unindexed keys used in queries.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Infrastructure:&lt;/strong&gt; PHP version and its support end date, CDN, caching, backup schedule.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Performance:&lt;/strong&gt; Core Web Vitals distribution, PageSpeed results for key templates.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Finish with two numbers side by side: the estimated cost of remediation and the estimated cost of a rebuild. A useful rule of thumb: if remediation costs well over half of a rebuild and leaves the architecture unchanged, rebuild. If it costs a fraction of a rebuild and the debt is localized, remediate.&lt;/p&gt;

&lt;h2&gt;
  
  
  Next steps
&lt;/h2&gt;

&lt;p&gt;An audit is data, not a recommendation. Install Query Monitor on a staging copy this week, run the two queries above, and fill in the spreadsheet.&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>webdev</category>
      <category>performance</category>
      <category>php</category>
    </item>
    <item>
      <title>Astro vs Next.js for a Marketing Site</title>
      <dc:creator>WPAgency</dc:creator>
      <pubDate>Fri, 27 Nov 2026 14:29:40 +0000</pubDate>
      <link>https://dev.to/wpagency/astro-vs-nextjs-for-a-marketing-site-331l</link>
      <guid>https://dev.to/wpagency/astro-vs-nextjs-for-a-marketing-site-331l</guid>
      <description>&lt;p&gt;For most marketing and content sites, Astro is the better default. Next.js is the better fit when the site is really an application with marketing pages attached. Astro ships no JavaScript by default and renders to static HTML, which is exactly what a brochure site, blog or documentation set needs. Next.js is a full React application framework: powerful, but you pay for that power in complexity and runtime weight whether or not the page needs it.&lt;/p&gt;

&lt;p&gt;That is the short answer. The rest of this guide is the reasoning, because “it depends” is true but useless, and the decision is more clear-cut than most framework debates suggest. If you want the side-by-side version, our &lt;a href="https://wpagency.xyz/compare/astro-vs-nextjs/" rel="noopener noreferrer"&gt;Astro vs Next.js decision guide&lt;/a&gt; puts it in a single table.&lt;/p&gt;

&lt;h2&gt;
  
  
  The core architectural difference
&lt;/h2&gt;

&lt;p&gt;Astro and Next.js solve different problems. The confusion comes from the fact that both can render a homepage.&lt;/p&gt;

&lt;p&gt;Next.js is a React framework. Every page is a React component tree, and React’s runtime ships to the browser to “hydrate” that tree so it becomes interactive. That model is right for an app (a dashboard, a configurator, a logged-in product surface) where most of the page is interactive state.&lt;/p&gt;

&lt;p&gt;Astro is a content framework with an islands architecture. Pages render to HTML on the server or at build time and ship with no JavaScript unless you explicitly opt a component in. Where you need interactivity (a search box, a carousel, a menu) you mark that one component as an “island,” and only that island ships JavaScript. The rest of the page stays static HTML.&lt;/p&gt;

&lt;p&gt;A marketing page is mostly static. The hero, the feature grid, the testimonials and the footer: none of it needs a JavaScript runtime to display. Astro matches the shape of the problem. Next.js makes you ship a framework runtime to render text and images that never change.&lt;/p&gt;

&lt;h2&gt;
  
  
  Performance: where the gap is widest
&lt;/h2&gt;

&lt;p&gt;The difference shows up directly in Core Web Vitals, which Google uses in its ranking systems and which shape how fast a site feels to the people using it.&lt;/p&gt;

&lt;h3&gt;
  
  
  JavaScript payload
&lt;/h3&gt;

&lt;p&gt;A static Astro page can ship close to no JavaScript at all. A comparable Next.js page ships the React runtime, the framework’s client bundle and your component code, a sizable baseline before you have written a single feature. More JavaScript means more to download, parse and execute on the main thread, and main-thread work is one of the biggest levers on &lt;a href="https://wpagency.xyz/insights/inp-optimization-guide/" rel="noopener noreferrer"&gt;Interaction to Next Paint (INP)&lt;/a&gt;, the Core Web Vital that measures responsiveness.&lt;/p&gt;

&lt;h3&gt;
  
  
  Hydration cost
&lt;/h3&gt;

&lt;p&gt;Because Astro pages are mostly inert HTML, they respond almost as soon as they paint. Next.js pages have to hydrate before their event handlers attach, and on mid-range phones that hydration cost is real. For a content site read mostly on phones, it can be the difference between a page that responds at once and one that stutters.&lt;/p&gt;

&lt;p&gt;The honest caveat: a well-optimized Next.js site can score well, and a careless Astro site can still be slow if you load it with heavy images and third-party scripts. Framework choice sets the default and the ceiling. It doesn’t exempt you from the work, which is most of what performance engineering actually is.&lt;/p&gt;

&lt;h2&gt;
  
  
  Developer experience and complexity
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Where Next.js earns its complexity
&lt;/h3&gt;

&lt;p&gt;If your “marketing site” includes a customer portal, an interactive pricing calculator with server-side logic, authenticated content or a genuinely app-like surface, Next.js gives you one coherent model for all of it: routing, data fetching, server components, route handlers and React everywhere. Forcing that into a content framework would be the wrong call.&lt;/p&gt;

&lt;h3&gt;
  
  
  Where Astro is simpler
&lt;/h3&gt;

&lt;p&gt;For a content site, Astro is far less to reason about. You write HTML-like components, you can drop in React, Vue or Svelte islands if you want them, and you don’t have to think about hydration boundaries, server-versus-client component rules or the framework’s data-fetching conventions. Content lives in Markdown or MDX with a typed schema. The mental model is “a fast site generator that lets me use components,” and for a team that publishes content rather than ships application features, that is the right amount of framework.&lt;/p&gt;

&lt;h2&gt;
  
  
  Hosting and cost
&lt;/h2&gt;

&lt;p&gt;Astro’s static output deploys to any CDN or static host cheaply and predictably. There is no server to keep warm, and the CDN absorbs traffic spikes. Next.js can also be exported statically for simple cases, but its dynamic features (server rendering, route handlers, image optimization) generally assume a Node runtime or a platform that provides one. That carries operational cost and a dependence on your host that you should choose deliberately rather than inherit.&lt;/p&gt;

&lt;p&gt;For a marketing site, the static path is almost always cheaper to run and easier to keep fast under load.&lt;/p&gt;

&lt;h2&gt;
  
  
  A simple rule for choosing
&lt;/h2&gt;

&lt;p&gt;Write down what the site actually does:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If it is &lt;strong&gt;content that mostly displays&lt;/strong&gt; (pages, posts, case studies, docs, landing pages), choose &lt;strong&gt;Astro&lt;/strong&gt;. You get a faster site with less code and lower hosting cost, and you can still add interactive islands where you need them.&lt;/li&gt;
&lt;li&gt;If it is &lt;strong&gt;an application that also has marketing pages&lt;/strong&gt; (dashboards, accounts, complex stateful interactions across most of the screen), choose &lt;strong&gt;Next.js&lt;/strong&gt;, and treat the marketing pages as part of the app.&lt;/li&gt;
&lt;li&gt;If you are &lt;strong&gt;moving an existing WordPress site&lt;/strong&gt; mainly for speed and maintainability, Astro is usually the destination. The migration is its own discipline: redirects, content modeling and search continuity matter more than the framework. We cover how we plan it on our &lt;a href="https://wpagency.xyz/services/wordpress-to-astro/" rel="noopener noreferrer"&gt;WordPress-to-Astro migration&lt;/a&gt; page, and &lt;a href="https://wpagency.xyz/work/roseville/" rel="noopener noreferrer"&gt;Roseville Landscape Material Supply&lt;/a&gt; is one site that made that move.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A common mistake is choosing Next.js for a content site because it is the popular default, then spending months fighting hydration and bundle size to win back the performance Astro would have given you by default.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we recommend in practice
&lt;/h2&gt;

&lt;p&gt;We build content and marketing sites on Astro because the architecture is honest about what those sites are: fast-loading documents with a few interactive moments. When a project is genuinely application-shaped, we scope it as software rather than as a website and choose an application framework to match. The framework should fit the work. Picking one for résumé value or popularity is how sites end up slow and expensive to run.&lt;/p&gt;

&lt;p&gt;The decision rule is short: if most of the screen is content, start with Astro; if most of the screen is interactive state, start with an application framework. The right framework is the one you will still be happy with in year three, not the one that demos well in week one.&lt;/p&gt;

</description>
      <category>astro</category>
      <category>nextjs</category>
      <category>webdev</category>
      <category>performance</category>
    </item>
  </channel>
</rss>
