Skip to content

Conversation

@GregBrimble
Copy link
Contributor

Summary

Sorry it's a bit late! This documents the new compat flag for assets. I'm going to follow up with more sweeping changes to how we're documenting routing in the static assets docs. For now, just documenting this flag.

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@GregBrimble GregBrimble requested review from a team, irvinebroque and mikenomitch as code owners April 3, 2025 16:44
@hyperlint-ai
Copy link
Contributor

hyperlint-ai bot commented Apr 3, 2025

Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment.

We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally.


PR Change Summary

Documented a new compatibility flag for asset serving in the static assets documentation.

  • Added documentation for the 'Navigation requests prefer asset serving' compatibility flag.
  • Clarified the behavior of navigation requests with and without the compatibility flag.
  • Outlined the implications of the flag for applications in SPA and 404 page modes.

Added Files

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

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

@GregBrimble GregBrimble force-pushed the add-compat-flag-for-assets-spa branch from 0f26258 to 9daf8d6 Compare April 3, 2025 16:49
@github-actions
Copy link
Contributor

github-actions bot commented Apr 3, 2025

Copy link
Contributor

@korinne korinne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@GregBrimble GregBrimble merged commit 944b1a5 into production Apr 3, 2025
11 checks passed
@GregBrimble GregBrimble deleted the add-compat-flag-for-assets-spa branch April 3, 2025 19:20
RebeccaTamachiro pushed a commit that referenced this pull request Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants