WeSearch

How I built a 100/100 PageSpeed score with Astro

·2 min read · 0 reactions · 0 comments · 14 views
#javascript#webdev#performance
How I built a 100/100 PageSpeed score with Astro
⚡ TL;DR · AI summary

Charlie McLean shares his approach to achieving a perfect 100/100 PageSpeed score using Astro. He emphasizes the importance of hand-coding websites without page builders and optimizing JavaScript and images. The strategies outlined include self-hosting fonts and implementing efficient loading techniques.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3965910) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Charlie McLean Posted on Jun 3 How I built a 100/100 PageSpeed score with Astro #javascript #webdev #astro #performance When I started Base7 Studio I made one commitment — every site we ship has to be fast. Not "pretty fast". Actually fast. Here's what gets us to 100/100 on Google PageSpeed consistently. No page builders Every site is hand-coded with Astro. No WordPress, no Webflow, no Squarespace.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)