forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: load the tags manifest asynchronously (vercel#64563)
## What? A small update to FileSystemCache to replace sync calls with async. ## Why? `loadTagsManifest` may be called multiple times per request. Since `loadTagsManifest` is synchronous it blocks the main thread whilst reading from the file system which could impact server performance. Replacing these sync calls with async has no impact for consumers of the FileSystemCache. Co-authored-by: JJ Kasper <jj@jjsweb.site>
- Loading branch information
1 parent
330bbaf
commit 4dfb2c9
Showing
1 changed file
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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