Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(vercel#41392): improve cache busting inject performance (vercel#…
…41443) The PR continues from vercel#41392. In vercel#41392 the `dev ? cache-busting : empty` is executed per stylesheet instead of per page rendering. Since rendering link tags would be a hot path at the server, it might have accidentally introduced a performance overhead. The PR fixes that. Note, this change also makes `Date.now()` only execute once instead of per stylesheets, however, this will most likely not cause any issues.
- Loading branch information