Skip to content

Update from code changes: document mint dev --disable-prefetch - #6764

Open
mintlify[bot] wants to merge 2 commits into
mainfrom
mintlify/077d09b1
Open

Update from code changes: document mint dev --disable-prefetch#6764
mintlify[bot] wants to merge 2 commits into
mainfrom
mintlify/077d09b1

Conversation

@mintlify

@mintlify mintlify Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the new mint dev --disable-prefetch flag, 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-prefetch to the mint dev flag 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 dev reference table next to existing performance flags like --disable-openapi.

The same English updates are mirrored in Spanish, French, and Chinese (es/, fr/, zh/) for cli/commands.mdx and cli/preview.mdx.

Reviewed by Cursor Bugbot for commit 8cfce77. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify

mintlify Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Jul 27, 2026, 11:27 PM

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
tomee 🟢 Ready View Preview Jul 27, 2026, 11:27 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟡 Building Jul 27, 2026, 11:24 PM

@mintlify

mintlify Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
tomee 🟡 Building Jul 27, 2026, 11:24 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant