ISR revalidate test
Data is fetched from the backend (GET /user/56410228) when this page is generated. Edit TEST_REVALIDATE_USER_ID in TestRevalidateRepository.ts to a profile you can change (name/bio). Cached values stay the same until TTL (60s) or manual revalidation.
Cached (ISR snapshot)
- User ID
- 56410228
- Username
- @guilhermeribeirosm
- Name
- Guilherme H Ribeiro
- About (bio)
- teste 223344556677
- Followers
- 0
- Backend path
/user/56410228- Page fetchedAt
- 2026-09-10T22:04:17.117Z
- API base
- https://app.suamusica.com.br/v2/
How to test
- Note the name / bio / followers above.
- Edit the user on the backend (Luach or profile edit) — change name or about.
- Hard-refresh this page — values should still be the old snapshot.
- Call manual revalidate (curl below).
- Hard-refresh again — values should match the updated profile.