Skip to content

Commit

Permalink
docs: add tip on browser extensions to perf guide (#15577)
Browse files Browse the repository at this point in the history
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
  • Loading branch information
patak-dev and bluwy authored Jan 11, 2024
1 parent c029efb commit c643a8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/guide/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ While Vite is fast by default, performance issues can creep in as the project's
- Slow page loads
- Slow builds

## Avoid Browser Extensions

Some browser extensions may interfere with requests and slow down startup and reload times for large apps, especially when using browser dev tools. We recommend creating a dev-only profile without extensions, or switch to incognito mode, while using Vite's dev server in these cases. Incognito mode should also be faster than a regular profile without extensions.

## Audit Configured Vite Plugins

Vite's internal and official plugins are optimized to do the least amount of work possible while providing compatibility with the broader ecosystem. For example, code transformations use regex in dev, but do a complete parse in build to ensure correctness.
Expand Down

0 comments on commit c643a8a

Please sign in to comment.