Skip to content

Commit 588dbe8

Browse files
Hyperlint Automation Fix
1 parent 25afe91 commit 588dbe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/compatibility-flags/assets-navigation-prefers-asset-serving.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ enable_flag: "assets_navigation_prefers_asset_serving"
1111
disable_flag: "assets_navigation_has_no_effect"
1212
---
1313

14-
For Workers with [static assets](/workers/static-assets/) and this compatibility flag enabled, navigation requests (requests which have a `Sec-Fetch-Mode: navigate` header) will prefer to be served by our asset-serving logic, even when an exact asset match cannot be found. This is particularly useful for applications which operate in either [Single Page Application (SPA) mode](/workers/static-assets/routing/#not_found_handling--404-page--single-page-application--none) or [404 page mode](/workers/static-assets/routing/#not_found_handling--404-page--single-page-application--none), as this now means the fallback pages of `200 /index.html` and `404 /404.html` will be served ahead of invoking a Worker script and will therefore avoid incurring a charge.
14+
For Workers with [static assets](/workers/static-assets/) and with this compatibility flag enabled, navigation requests (requests which have a `Sec-Fetch-Mode: navigate` header) will prioritize being served by our asset-serving logic, even when an exact asset match cannot be found.
1515

1616
Without this flag, the runtime will continue to apply the old behavior of invoking a Worker script (if present) for any requests which do not exactly match a static asset.
1717

0 commit comments

Comments
 (0)