<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/astro-7-3-cnsvdowgg" -->

---
title: Astro 7.3 | daily.dev
description: Astro 7.3 adds an --ignore-lock flag to astro preview so multiple preview servers can run at once (useful for Playwright tests), similar to the flag already...
canonical: https://daily.dev/posts/astro-7-3-cnsvdowgg
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Astro 7.3 | daily.dev
og:description: Astro 7.3 adds an --ignore-lock flag to astro preview so multiple preview servers can run at once (useful for Playwright tests), similar to the flag already...
og:url: https://daily.dev/posts/astro-7-3-cnsvdowgg
og:image: https://api.daily.dev/og/posts/CnSvDowgG.png
og:image:alt: Astro 7.3
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Astro 7.3

**[Astro](https://daily.dev/sources/astro_source)** · 4 min read · 26 upvotes · 5 comments

## Summary

Astro 7.3 adds an --ignore-lock flag to astro preview so multiple preview servers can run at once (useful for Playwright tests), similar to the flag already available for astro dev. It also passes Astro's runtime logger into custom image services and cache providers so their warnings respect configured logging instead of using console.warn(), with Astro's built-in Sharp image service and memoryCache() provider updated accordingly. Additionally, @astrojs/cloudflare now ships a finalize() helper for custom worker entrypoints that applies cookies and Cloudflare's CDN cache defaults to responses from an astro/fetch pipeline; Hono middleware users get this automatically.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://astro.build/blog/astro-730>

## Questions this post answers

### How do I run multiple astro preview servers at once in Astro 7.3?

Pass the --ignore-lock flag to astro preview, introduced in Astro 7.3, which bypasses the lockfile that normally prevents duplicate preview servers from starting. This mirrors the --ignore-lock flag added to astro dev in Astro 7.1. These instances run independently and are meant for quick, one-off servers, such as running Playwright tests, rather than ones managed with astro preview stop or status.

_Track new Astro CLI flags like this on daily.dev before they trip up your test setup._

### How do custom image services and cache providers log warnings in Astro 7.3?

Astro 7.3 passes its runtime logger into custom image services and cache providers instead of forcing them to use console.warn(). Image services receive the logger as an argument to their hooks, and cache providers receive it on the context passed to onRequest(). Astro's built-in Sharp image service and memoryCache() provider have both been updated to use this logger so their warnings respect configured log level, destination, and the --silent flag.

_Developers building Astro image or cache extensions can follow logging changes like this on daily.dev._

### What does the finalize() helper do in @astrojs/cloudflare for Astro?

The finalize() helper, shipped in @astrojs/cloudflare with Astro 7.3, applies cookies and Cloudflare's CDN cache defaults to responses coming out of an astro/fetch pipeline for custom Cloudflare worker entrypoints. If using Hono, the @astrojs/cloudflare/hono middleware applies these headers automatically, so no extra call is needed.

_Astro developers deploying custom Cloudflare workers can keep up with helpers like this on daily.dev._

## Community discussion

Top comments from developers on daily.dev.

**@hadilbenabdallah** · 1 upvotes

> Good improvement!

**@pdfopsdev** · 1 upvotes

> this is the fix a lot of workers integrations needed, tools that skip the render pipeline for a custom entrypoint tend to quietly drop cache-control and cookies, glad it's a real helper instead of everyone hand-rolling the merge logic.

**@agustinbarrientos** · 0 upvotes

> Could each cache warning include the route and provider name? Otherwise two providers skipping the same key will look identical in CI logs

## Similar posts on daily.dev

- [Astro 7.4](https://daily.dev/posts/astro-7-4-9yrz1ruxa) · Astro · 28 upvotes · 0 comments
- [Astro 7.0](https://daily.dev/posts/astro-7-0-2arekjquc) · Astro · 203 upvotes · 14 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#testing](https://daily.dev/tags/testing), [#cloudflare](https://daily.dev/tags/cloudflare), [#astro](https://daily.dev/tags/astro)

[View this post on daily.dev](https://daily.dev/posts/astro-7-3-cnsvdowgg)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Astro 7.3","url":"https://daily.dev/posts/astro-7-3-cnsvdowgg","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/astro-7-3-cnsvdowgg"},"datePublished":"2026-09-03T15:39:22.204Z","dateModified":"2026-09-14T08:40:07.684Z","description":"Astro 7.3 adds an --ignore-lock flag to astro preview so multiple preview servers can run at once (useful for Playwright tests), similar to the flag already...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/76775270b5f6fa9a7aafa5b4c3aa03c5?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/76775270b5f6fa9a7aafa5b4c3aa03c5?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Astro","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Astro","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f4e5c78441f64e17b064585687d42fc6","url":"https://daily.dev/sources/astro_source"},"commentCount":5,"discussionUrl":"https://daily.dev/posts/astro-7-3-cnsvdowgg","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":26},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":5}],"keywords":"webdev,testing,cloudflare,astro","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Astro","item":"https://daily.dev/sources/astro_source"},{"@type":"ListItem","position":3,"name":"Astro 7.3"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/astro-7-3-cnsvdowgg","comment":[{"@type":"Comment","text":"Good improvement!","datePublished":"2026-09-07T16:41:00.388Z","url":"https://daily.dev/posts/CnSvDowgG#c-YOrpaxc8h","author":{"@type":"Person","name":"Hadil Ben Abdallah","url":"https://daily.dev/hadilbenabdallah","image":"https://media.daily.dev/image/upload/s--npVXQBAk--/f_auto/v1726134205/avatars/avatar_9pqnrpoJdg1CfgqIBuMCl"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"this is the fix a lot of workers integrations needed, tools that skip the render pipeline for a custom entrypoint tend to quietly drop cache-control and cookies, glad it’s a real helper instead of everyone hand-rolling the merge logic.","datePublished":"2026-09-04T18:02:37.268Z","url":"https://daily.dev/posts/CnSvDowgG#c-GtEpJhM8O","author":{"@type":"Person","name":"PDFops","url":"https://daily.dev/pdfopsdev","image":"https://media.daily.dev/image/upload/s---8isRBKc--/f_auto/v1782922291/avatars/avatar_orjMeK8QKaaVZwGq7ScPz?_a=BAMAMicg0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Could each cache warning include the route and provider name? Otherwise two providers skipping the same key will look identical in CI logs","datePublished":"2026-09-08T16:01:27.073Z","url":"https://daily.dev/posts/CnSvDowgG#c-izu0AA3HZ","author":{"@type":"Person","name":"Agustin Barrientos","url":"https://daily.dev/agustinbarrientos","image":"https://media.daily.dev/image/upload/s--5ayxQnqn--/f_auto/v1788281802/avatars/avatar_wQYYVe5Tbj0NJ7C7qPoa8?_a=BAMAMicg0"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/astro-7-3-cnsvdowgg#faq","mainEntity":[{"@type":"Question","name":"How do I run multiple astro preview servers at once in Astro 7.3?","acceptedAnswer":{"@type":"Answer","text":"Pass the --ignore-lock flag to astro preview, introduced in Astro 7.3, which bypasses the lockfile that normally prevents duplicate preview servers from starting. This mirrors the --ignore-lock flag added to astro dev in Astro 7.1. These instances run independently and are meant for quick, one-off servers, such as running Playwright tests, rather than ones managed with astro preview stop or status. Track new Astro CLI flags like this on daily.dev before they trip up your test setup."}},{"@type":"Question","name":"How do custom image services and cache providers log warnings in Astro 7.3?","acceptedAnswer":{"@type":"Answer","text":"Astro 7.3 passes its runtime logger into custom image services and cache providers instead of forcing them to use console.warn(). Image services receive the logger as an argument to their hooks, and cache providers receive it on the context passed to onRequest(). Astro's built-in Sharp image service and memoryCache() provider have both been updated to use this logger so their warnings respect configured log level, destination, and the --silent flag. Developers building Astro image or cache extensions can follow logging changes like this on daily.dev."}},{"@type":"Question","name":"What does the finalize() helper do in @astrojs/cloudflare for Astro?","acceptedAnswer":{"@type":"Answer","text":"The finalize() helper, shipped in @astrojs/cloudflare with Astro 7.3, applies cookies and Cloudflare's CDN cache defaults to responses coming out of an astro/fetch pipeline for custom Cloudflare worker entrypoints. If using Hono, the @astrojs/cloudflare/hono middleware applies these headers automatically, so no extra call is needed. Astro developers deploying custom Cloudflare workers can keep up with helpers like this on daily.dev."}}]}
```

