Update from code changes: document mint dev --disable-prefetch - #6764
Open
mintlify[bot] wants to merge 2 commits into
Open
Update from code changes: document mint dev --disable-prefetch#6764mintlify[bot] wants to merge 2 commits into
mintlify[bot] wants to merge 2 commits into
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the new
mint dev --disable-prefetchflag, which disables navigation prefetching in the local preview. This flag helps very large documentation sites avoid slow page loads caused by many background prefetches compiling at the same time. Added a dedicated section in the preview guide and an entry in the CLI command reference.Triggered by: https://github.com/mintlify/mint/pull/9540
Changes
cli/preview.mdx: New "Disable navigation prefetching" section explaining when and how to use the flag.cli/commands.mdx: Added--disable-prefetchto themint devflag table.Note
Low Risk
Documentation-only changes with no runtime or API impact.
Overview
Documents
mint dev --disable-prefetch, which turns off navigation prefetching in the local preview so very large sites are not slowed by background page compilation.Adds a Disable navigation prefetching section to the local preview guide (when to use it, example command, tradeoff vs default prefetch). Lists the flag in the
mint devreference table next to existing performance flags like--disable-openapi.The same English updates are mirrored in Spanish, French, and Chinese (
es/,fr/,zh/) forcli/commands.mdxandcli/preview.mdx.Reviewed by Cursor Bugbot for commit 8cfce77. Bugbot is set up for automated code reviews on this repo. Configure here.