Commit fa0fd78
test: verify HTML cache hit with render timestamp
Add render-timestamp outside of 'use cache' function to verify that
User B actually gets cached HTML (not a re-render). If the page
re-rendered, render-timestamp would differ between User A and User B.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent d76c362 commit fa0fd78
File tree
2 files changed
+19
-5
lines changed- test/e2e/app-dir/use-cache
- app/(partially-static)/eager-revalidation
2 files changed
+19
-5
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
| 734 | + | |
734 | 735 | | |
735 | 736 | | |
736 | 737 | | |
737 | 738 | | |
738 | 739 | | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
739 | 743 | | |
740 | 744 | | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
745 | 748 | | |
746 | 749 | | |
747 | 750 | | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
748 | 754 | | |
749 | 755 | | |
750 | 756 | | |
751 | 757 | | |
752 | | - | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
753 | 763 | | |
754 | 764 | | |
755 | 765 | | |
| |||
0 commit comments