<?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: Charlie McLean</title>
    <description>The latest articles on DEV Community by Charlie McLean (@charlie_mclean_37344b9bea).</description>
    <link>https://dev.to/charlie_mclean_37344b9bea</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3965910%2Fabeb604c-19d4-4e77-a2f6-8deb302a9943.png</url>
      <title>DEV Community: Charlie McLean</title>
      <link>https://dev.to/charlie_mclean_37344b9bea</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/charlie_mclean_37344b9bea"/>
    <language>en</language>
    <item>
      <title>How I built a 100/100 PageSpeed score with Astro</title>
      <dc:creator>Charlie McLean</dc:creator>
      <pubDate>Wed, 03 Jun 2026 07:02:57 +0000</pubDate>
      <link>https://dev.to/charlie_mclean_37344b9bea/how-i-built-a-100100-pagespeed-score-with-astro-3ag</link>
      <guid>https://dev.to/charlie_mclean_37344b9bea/how-i-built-a-100100-pagespeed-score-with-astro-3ag</guid>
      <description>&lt;p&gt;When I started Base7 Studio I made one commitment — every site &lt;br&gt;
we ship has to be fast. Not "pretty fast". Actually fast.&lt;/p&gt;

&lt;p&gt;Here's what gets us to 100/100 on Google PageSpeed consistently.&lt;/p&gt;

&lt;h2&gt;
  
  
  No page builders
&lt;/h2&gt;

&lt;p&gt;Every site is hand-coded with Astro. No WordPress, no Webflow, &lt;br&gt;
no Squarespace. Page builders ship enormous amounts of JavaScript &lt;br&gt;
and CSS that the browser has to parse before anything renders. &lt;br&gt;
We skip all of it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Zero unused JavaScript
&lt;/h2&gt;

&lt;p&gt;Astro ships zero JS by default. We only hydrate components that &lt;br&gt;
actually need interactivity. Most pages on our sites ship with &lt;br&gt;
less than 5kb of JavaScript.&lt;/p&gt;

&lt;h2&gt;
  
  
  Image optimisation
&lt;/h2&gt;

&lt;p&gt;Astro's built-in Image component handles WebP conversion, lazy &lt;br&gt;
loading, and correct sizing automatically. No more massive PNGs &lt;br&gt;
killing your LCP score.&lt;/p&gt;

&lt;h2&gt;
  
  
  Font loading strategy
&lt;/h2&gt;

&lt;p&gt;We use font-display: swap and preload only the weights we actually &lt;br&gt;
use. Most sites load 6+ font variants they never render — that's &lt;br&gt;
dead weight on every page load.&lt;/p&gt;

&lt;h2&gt;
  
  
  Self-hosted fonts
&lt;/h2&gt;

&lt;p&gt;No Google Fonts requests. Every font is self-hosted and served &lt;br&gt;
from the same domain. Eliminates a render-blocking third-party &lt;br&gt;
request on every page load.&lt;/p&gt;

&lt;h2&gt;
  
  
  The result
&lt;/h2&gt;

&lt;p&gt;Our own site at base7studio.com scores 100/100 on PageSpeed on &lt;br&gt;
mobile. Every client site we ship goes through the same process.&lt;/p&gt;

&lt;p&gt;If you're building client sites with Astro I'd love to hear what &lt;br&gt;
optimisations you're using — drop them in the comments.&lt;/p&gt;

&lt;p&gt;You can see it live at &lt;a href="https://base7studio.com" rel="noopener noreferrer"&gt;base7studio.com&lt;/a&gt; — &lt;br&gt;
we also built a free PageSpeed checker on the site if you want to &lt;br&gt;
test your own.&lt;/p&gt;

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