<?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: BRANDLUMEO LLP</title>
    <description>The latest articles on DEV Community by BRANDLUMEO LLP (@brandlumeo).</description>
    <link>https://dev.to/brandlumeo</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%2F4093627%2Fda4f1293-2b08-46e3-b7d7-5f5598dd6a1b.png</url>
      <title>DEV Community: BRANDLUMEO LLP</title>
      <link>https://dev.to/brandlumeo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/brandlumeo"/>
    <language>en</language>
    <item>
      <title>How We Took a Next.js Site's PageSpeed Score from ~50 to 98</title>
      <dc:creator>BRANDLUMEO LLP</dc:creator>
      <pubDate>Thu, 27 Aug 2026 05:56:01 +0000</pubDate>
      <link>https://dev.to/brandlumeo/how-we-took-a-nextjs-sites-pagespeed-score-from-50-to-98-48e2</link>
      <guid>https://dev.to/brandlumeo/how-we-took-a-nextjs-sites-pagespeed-score-from-50-to-98-48e2</guid>
      <description>&lt;p&gt;While auditing one of our own agency's sites (built as a Next.js static export), we found the mobile PageSpeed score sitting around 50 — not great for a site meant to represent a digital marketing agency. Here's what we changed to get it to 98.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Converted images to WebP
&lt;/h2&gt;

&lt;p&gt;Most of the images on the site were still JPG/PNG. Converting them to WebP alone cut file sizes significantly without any visible quality loss.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Migrated to &lt;code&gt;next/image&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Instead of plain &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; tags, we moved every image to Next.js's built-in &lt;code&gt;Image&lt;/code&gt; component. This gave us automatic:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Lazy loading&lt;/li&gt;
&lt;li&gt;Responsive sizing&lt;/li&gt;
&lt;li&gt;Better format negotiation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here's a simplified example of the approach:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;Image&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;next/image&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;

&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;Image&lt;/span&gt;
  &lt;span class="nx"&gt;src&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;/hero.webp&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
  &lt;span class="nx"&gt;alt&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Hero banner&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
  &lt;span class="nx"&gt;width&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;1200&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="nx"&gt;height&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;600&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="nx"&gt;priority&lt;/span&gt;
&lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3. Optimized Google Fonts with &lt;code&gt;next/font&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;We were loading Google Fonts the traditional way (via &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; tags), which adds render-blocking requests. Switching to &lt;code&gt;next/font/google&lt;/code&gt; self-hosts the fonts and eliminates that extra network round-trip.&lt;/p&gt;

&lt;p&gt;Simplified example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;Poppins&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;next/font/google&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;poppins&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Poppins&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;subsets&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;latin&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
  &lt;span class="na"&gt;weight&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;400&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;600&lt;/span&gt;&lt;span class="dl"&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;h2&gt;
  
  
  4. Cleaned up legal/meta pages
&lt;/h2&gt;

&lt;p&gt;Missing pages and broken links were quietly hurting the crawl experience and, indirectly, the performance audit. Adding proper legal pages (privacy policy, terms) closed that gap.&lt;/p&gt;

&lt;h2&gt;
  
  
  Result
&lt;/h2&gt;

&lt;p&gt;Mobile PageSpeed score: &lt;strong&gt;~50 → 98&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Takeaway
&lt;/h2&gt;

&lt;p&gt;If your Next.js site is scoring low, check these three things first — they're usually the biggest wins for the least effort:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Image format + &lt;code&gt;next/image&lt;/code&gt; usage&lt;/li&gt;
&lt;li&gt;Font loading strategy&lt;/li&gt;
&lt;li&gt;Missing/broken pages affecting crawl&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;&lt;em&gt;We're &lt;a href="https://brandlumeo.site" rel="noopener noreferrer"&gt;BrandLumeo&lt;/a&gt;, a digital marketing agency working across Kerala and Dubai — handling everything from Meta Ads to web development. Would love to hear how others have tackled similar performance issues!&lt;/em&gt;&lt;/p&gt;

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