Skip to content

Commit c9ffe18

Browse files
authored
refactor!: remove fs.cachedChecks option (#1685)
1 parent 0b32800 commit c9ffe18

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

config/server-options.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -329,14 +329,6 @@ export default defineConfig({
329329

330330
Vite 開発サーバーでの配信が制限されている機密ファイルのブロックリスト。これは [`server.fs.allow`](#server-fs-allow) よりも優先度が高くなります。[picomatch パターン](https://github.com/micromatch/picomatch#globbing-features)がサポートされています。
331331

332-
## server.fs.cachedChecks
333-
334-
- **型:** `boolean`
335-
- **デフォルト:** `false`
336-
- **実験的機能**
337-
338-
繰り返しのファイルシステム操作を避けるため、アクセスされたディレクトリーのファイル名をキャッシュします。特に Windows では、これにより性能が向上する可能性があります。キャッシュされたフォルダーにファイルを書き込んですぐにインポートするというエッジケースがあるため、デフォルトでは無効になっています。
339-
340332
## server.origin
341333

342334
- **型:** `string`

guide/migration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ Vite 5 のように `style.css` を使い続けたい場合は、代わりに `b
6666
- [`commonjsOptions.strictRequires`](https://github.com/rollup/plugins/blob/master/packages/commonjs/README.md#strictrequires) がデフォルトで `true` になりました(以前は `'auto'`)。
6767
- [[#18243] chore(deps)!: migrate `fast-glob` to `tinyglobby`](https://github.com/vitejs/vite/pull/18243)
6868
- 範囲指定の角括弧(`{01..03}``['01', '02', '03']`)および増分指定の角括弧(`{2..8..2}``['2', '4', '6', '8']`)は、glob 内でサポートされなくなりました。
69+
- [[#18493] refactor!: remove fs.cachedChecks option](https://github.com/vitejs/vite/pull/18493)
70+
- キャッシュフォルダにファイルを書き込んですぐにインポートするといったエッジケースのために、このオプトイン最適化は削除されました。
6971

7072
## v4 からの移行
7173

0 commit comments

Comments
 (0)