Unverified Commit 44304092 authored by Hendrik Liebau's avatar Hendrik Liebau Committed by GitHub

Discard prerendered route handler data from FS cache after revalidation (#81611)

After having revalidated a prerendered route handler, on the subsequent request we must discard the prerendered data from the file system cache, as we already do for pages and fetch caches as well.

> [!NOTE]  
> This PR is best reviewed with hidden whitespace changes.
parent 08209b9b
...@@ -28,10 +28,7 @@ ...@@ -28,10 +28,7 @@
] ]
}, },
"test/e2e/app-dir/use-cache/use-cache.test.ts": { "test/e2e/app-dir/use-cache/use-cache.test.ts": {
"failed": [ "failed": ["use-cache should update after unstable_expireTag correctly"]
"use-cache should revalidate before redirecting in a route handler",
"use-cache should update after unstable_expireTag correctly"
]
}, },
"test/production/app-dir/browser-chunks/browser-chunks.test.ts": { "test/production/app-dir/browser-chunks/browser-chunks.test.ts": {
"failed": [ "failed": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment