Code & Deploy
siGit Code
Git Hosting
Toggle menu
siGit Code
Git Hosting
Sign in
Sign in
@devries-cameron20
/
t3code-1
Fork
0
The best way to control Claude Code, Codex and more from any computer or phone
t3code-1
/
.repos
/
alchemy-effect
/
examples
/
cloudflare-website-vinext
/
app
/
isr
/
actions.ts
Code
Commits
Issues
Pulls
Cloud Agent
CICD
main
main
ts
9 lines
197 Bytes
Copy permalink
Copy
Raw
1
"
use server
"
;
2
3
import
{
revalidatePath
}
from
"
next/cache
"
;
4
import
{
redirect
}
from
"
next/navigation
"
;
5
6
export
async
function
refreshCachedPage
()
{
7
revalidatePath
(
"
/isr
"
);
8
redirect
(
"
/isr
"
);
9
}