Web Development
Astro for Marketing Websites: Fast Pages Your Team Can Still Edit
Astro makes marketing pages fast by default, but a fast site only helps if the marketing team can change it. Here is how we pair Astro with a CMS, a block library editors can use, previews, forms and publishing that works without a developer.

Marketing teams are often handed a choice they should not have to make. One option is a fast, hand-built site that scores well on Core Web Vitals but needs a developer for every new landing page. The other is a page builder the team can edit themselves, which slowly fills with scripts and layout shifts until it is the slowest page in the market. Astro removes most of that trade-off, provided the editing side is designed as carefully as the front end.
Through our Svelte and Astro development service, Astro is now our default recommendation for marketing websites. Our earlier article on how Astro and Svelte ship less JavaScript explains why the pages are fast. This one is about the other half: making sure the people who run the site day to day can change it without waiting for us.
Why Astro Suits Marketing Sites
A marketing site is mostly content: headings, copy, images, testimonials, pricing tables and forms, with a few interactive pieces such as a calculator, a filterable list or a booking widget. Astro renders all of it to plain HTML at build time and loads JavaScript only for the components you mark as interactive, using directives such as client:visible to load a component when it scrolls into view. Those islands can be written in React, Vue or Svelte, so an existing widget can often be reused rather than rebuilt.
The rest comes built in or as official integrations: responsive, optimised images through the Image component, an XML sitemap, redirects defined in configuration, internationalised routing and page transitions. For SEO, the important part is that every page is complete HTML on first load, with titles, canonical tags and structured data generated from the same content the editors manage. We check all of these as part of our technical SEO work before launch.
Choosing Where the Content Lives
Astro does not include an editing interface, which is a strength: you choose the content source that suits the team.
- A headless CMS such as Storyblok, Sanity, Contentful or Directus. Editors get a proper interface with roles, scheduling, drafts and media management, and the site pulls content through an API. This is our usual choice when several non-technical people edit the site. It is the core of our headless CMS development work.
- WordPress as a headless back end. If the team already knows WordPress, it can stay as the editing tool while Astro renders the public site. Our WordPress development team sets up the content model and API so editors keep a familiar screen.
- Git-based content with tools such as Keystatic or Decap CMS. Content lives as Markdown or JSON in the repository, with a simple editing interface on top. Low running cost and full history, best suited to smaller teams comfortable with a slightly more technical workflow.
Astro's content collections, which since Astro 5 can load from local files or remote APIs through loaders, give every source a typed schema. If an editor leaves out a required field, the build fails with a clear message instead of publishing a broken page. Our article on headless versus traditional CMS covers the wider trade-offs.
Designing Blocks Editors Can Use
The thing that decides whether a team can build its own landing pages is not the CMS but the component library behind it. We design a set of page sections, such as hero, feature grid, logo strip, testimonial, comparison, FAQ, call to action and form, each as an Astro component with a matching block in the CMS. Editors assemble pages by stacking blocks and filling in fields; the design system keeps every result on-brand and fast.
A few rules make this work in practice:
- Give options, not freedom. A block with a choice of three background styles stays consistent. A block with a colour picker and free spacing controls drifts within months.
- Constrain fields to what the design can hold. Character limits on headlines, required alt text on images and a fixed number of cards per row prevent layouts that break on mobile.
- Build the FAQ block to output FAQ structured data and the breadcrumb to output breadcrumb markup, so editors get the SEO benefit without thinking about it.
- Document each block with a short example page in the CMS, so new team members can see what it is for.
This is as much a website design exercise as a development one, and we plan the block set with the people who will use it.
Publishing, Previews and Forms
Static pages raise a fair question from editors: how do changes go live, and how do I see a draft? We answer both before launch.
- Publishing. When an editor publishes, the CMS sends a webhook that triggers a fresh build and deploy. On a typical marketing site this takes a minute or two. For time-critical content, specific routes can be rendered on demand instead of at build time, using Astro's server output with a hosting adapter.
- Previews. We run a preview deployment that renders pages on request with draft content, so the CMS preview button shows exactly what the live page will look like, using the same components.
- Forms. Contact and demo request forms post to a server endpoint or an Astro Action with validation, spam protection and delivery to your CRM, rather than an embedded third-party script that adds weight to every page.
- Tracking scripts. Tag managers and analytics are the most common reason a fast site becomes slow. We agree which tags are allowed, load them after the main content, and consider moving heavy third-party scripts off the main thread.
When Astro Is Not the Right Tool
Astro is excellent for content and less suited to applications. If most of the site sits behind a login, with dashboards, account pages and complex state, a full framework such as SvelteKit, Next.js or Nuxt is a better fit. It is also not the answer if the team specifically wants a visual, drag-anywhere editor; a well-built website builder may suit them better, accepting the performance cost. And if the current site is slow because of a few heavy scripts or images, a speed optimisation pass may fix it without a rebuild.
Getting Started
A typical Astro marketing project starts with the content model and block library, then the templates, then migration of existing pages with redirects for every changed URL. Editors are trained on the real CMS before launch, not after. If you want a site your team can update on a Monday morning without a developer, and that still loads quickly on a mid-range phone, tell us how your team publishes today and we will suggest the content setup that fits.
Frequently Asked Questions
Can our marketing team build new landing pages in Astro without a developer?
Yes, if the site is set up for it. Editors work in a CMS, choosing from a library of pre-built sections and filling in fields, and Astro builds the page. Developers are needed only when you want a genuinely new kind of section, which is added once to the library and then reused by everyone.
Which CMS works best with Astro?
There is no single best choice. Storyblok and similar visual headless CMSs suit teams who want in-context editing, Sanity and Contentful suit structured content across several channels, headless WordPress suits teams who already know it, and git-based tools suit small teams on a budget. We recommend one after looking at who edits and how often.
How long does it take for a change in the CMS to appear on an Astro site?
With a static build triggered by a CMS webhook, a typical marketing site rebuilds and deploys within a minute or two of publishing. Pages that must update instantly, such as time-limited offers, can be rendered on request instead, so they show the latest content without waiting for a full build.
Will moving our marketing site to Astro hurt our search rankings?
Not if the migration is handled properly. Astro outputs complete HTML that search engines read easily, and it usually improves page speed. The risk lies in changed URLs, lost metadata and missing redirects, so we map every old URL, carry over titles, descriptions and structured data, and monitor Search Console closely after launch.
Can we reuse our existing React or Vue components in an Astro site?
Often, yes. Astro supports React, Vue, Svelte and other frameworks as interactive islands, so a pricing calculator or configurator built in React can usually be dropped into an Astro page with little change. Components that depend on a global app state or router may need adapting to work on their own.









