rsnext/test
Tobias Koppers 488fc1c003
clear require cache only when needed (#56198)
### What?

clear require cache only when there has been changes

Before we cleared the require.cache after every ensurePage call. This is
too much. The new approach compares the hashes of all emitted files with
the previous hashes and only clears require.cache when they differ.

### Why?

reloading a page and client navigation is slow due the re-requiring
server files


Closes WEB-1686
2023-10-02 10:57:35 +02:00
..
.stats-app chore(ci): bump pnpm v8.6.11 to v8.7.1 (#54873) 2023-09-06 00:39:44 +00:00
__mocks__ [edge] bump @edge-runtime/* package suite (#49092) 2023-05-31 08:03:20 +00:00
development More Turbopack fixes (#56275) 2023-10-02 09:42:32 +02:00
e2e More Turbopack test fixes (#56248) 2023-10-01 17:50:03 +02:00
examples feat(cli): introduce --tailwind flag (#46927) 2023-03-16 16:06:27 +01:00
integration More Turbopack fixes (#56275) 2023-10-02 09:42:32 +02:00
lib More Turbopack fixes (#56275) 2023-10-02 09:42:32 +02:00
production More Turbopack test fixes (#56248) 2023-10-01 17:50:03 +02:00
unit Warn experimental.appDir option can be removed (#55346) 2023-09-13 23:38:17 +00:00
.gitignore ci(workflow): enable test trace upload (#51107) 2023-06-12 17:14:13 +00:00
build-turbopack-tests-manifest.js Turbopack: update test manifest (#56133) 2023-09-28 08:23:26 +02:00
jest-setup-after-env.ts Decrease default test timeouts (#56116) 2023-09-27 23:55:20 +00:00
jest.d.ts refactor smooth scroll bailout logic in app navigations (#53186) 2023-07-27 14:39:51 +00:00
readme.md refactor: split up CONTRIBUTING.md (#40515) 2022-09-16 14:54:58 -07:00
test-file.txt
turbopack-tests-manifest.json clear require cache only when needed (#56198) 2023-10-02 10:57:35 +02:00

See Testing for more information on how you can run/write/debug tests for Next.js.