Astro Islands
Learn how Astro achieves a perfect performance score using its Island architecture.
We'll cover the following
Astro optimizes websites using Astro Islands to achieve perfect performance scores. Performance issues on websites often arise from the amount of JavaScript loaded and executed on the page. To address this, Astro loads JavaScript on demand for individual components. This not only improves performance scores but also positively impacts SEO because page speed directly affects SEO. This is because the user experience is affected, among many other things, by load time.
What is an Astro Island?
Astro Islands are interactive components that require JavaScript code to function. The loading of JavaScript for these islands can be deferred using a special Astro-specific attribute.
Get hands-on with 1400+ tech skills courses.