next.js
7ef95ba7 - Add `computeWorkerKey` to the static optimization worker (#47792)

Commit
2 years ago
Add `computeWorkerKey` to the static optimization worker (#47792) Since both `exportPage` and `isPageStatic` methods in the static optimization worker involve loading the actual page component, it's better to assign the same page to the same worker for these 2 tasks to avoid unnecessary memory allocation. Co-authored-by: JJ Kasper <jj@jjsweb.site>
Author
Parents
Loading