Astro Guides

Guides, examples, and demonstrations of using the Netlify platform.

How to use Sanity Portable Text with Astro

by Paul Scanlon

Learn how to use Sanity's Portable Text content format in your Astro projects

Astro Sanity CMS

How to do ISR and advanced caching with Astro

by Matt Kane

Incremental Static Regeneration (ISR) is a powerful pattern for rendering pages on the web. Astro has useful tools to do fine-grained ISR and other advanced caching patterns when deployed to Netlify. This guide will show you how to do it.

Astro Caching Primitives

How to use Sanity CMS with Astro

by Paul Scanlon

Learn how to combine Sanity CMS with the Astro web framework to deliver managed content through a site experience that is totally under your control.

Astro Sanity

Using cookies for displaying dynamic status messages with Astro

by Sean C Davis

Use server cookies and serverless functions to display dynamic feedback or status messages on your Astro site’s pages.

Astro

Install, build, and deploy an Astro site in 2 minutes

by Sean C Davis

Use the Astro CLI to create a new site, run it in development, and build it for production. Then preview and publish the build by deploying it using the Netlify CLI.

Astro CLI

Adding resumability to Astro with Qwik

by Paul Scanlon

Selecting Qwik to provide JavaScript interactions in an Astro site. An example and guide to writing your first Qwik components in Astro

Astro

Suggest a guide

Got an idea for a useful guide that you can't currently find here? Want us to explain something, or perhaps you'd like to work on creating a guide with us?

Let us know and we'll see what we can arrange.

We also have a contributor guide for those making content contributions