Skip to content

Commit

Permalink
Add test page to show symbol in output
Browse files Browse the repository at this point in the history
  • Loading branch information
unstubbable committed Feb 28, 2025
1 parent 093b259 commit c044e46
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ describe('build-output-tree-view', () => {
├ ƒ /api N/A kB N/A kB
├ ○ /api/force-static N/A kB N/A kB
├ ○ /app-static N/A kB N/A kB
├ ○ /cache-life N/A kB N/A kB 1h 1d
├ ○ /cache-life-custom N/A kB N/A kB ≈7m ≈2h
├ ○ /cache-life-hours N/A kB N/A kB 1h 1d
├ ƒ /dynamic N/A kB N/A kB
├ ◐ /ppr/[slug] N/A kB N/A kB 1w 30d
├ ├ /ppr/[slug] 1w 30d
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
'use cache'

import { unstable_cacheLife } from 'next/cache'

export default async function Page() {
unstable_cacheLife({ revalidate: 412, expire: 8940 })

return <p>hello world</p>
}

0 comments on commit c044e46

Please sign in to comment.