Commit b302934
fix: remove export const revalidate from all 17 pages
Remove time-based ISR revalidation from all pages and sitemap.
These caused constant ISR writes on every visitor request:
- revalidate=60 on 7 listing pages (writes every minute per visitor)
- revalidate=3600 on 5 detail pages
- revalidate=86400 on 4 static pages
- revalidate=3600 on sitemap.ts
With defineLive + SanityLive handling real-time updates, time-based
ISR revalidation provides zero benefit while consuming ISR writes.
Files modified:
- app/(main)/page.tsx
- app/(main)/(post)/post/[slug]/page.tsx
- app/(main)/(post)/blog/page.tsx
- app/(main)/(post)/blog/page/[num]/page.tsx
- app/(main)/(podcast)/podcast/[slug]/page.tsx
- app/(main)/(podcast)/podcasts/page.tsx
- app/(main)/(podcast)/podcasts/page/[num]/page.tsx
- app/(main)/(author)/author/[slug]/page.tsx
- app/(main)/(author)/authors/page/[num]/page.tsx
- app/(main)/(guest)/guest/[slug]/page.tsx
- app/(main)/(guest)/guests/page/[num]/page.tsx
- app/(main)/(sponsor)/sponsor/[slug]/page.tsx
- app/(main)/(sponsor)/sponsors/page/[num]/page.tsx
- app/(main)/(top-level-pages)/[slug]/page.tsx
- app/(main)/(top-level-pages)/pro/page.tsx
- app/(main)/(top-level-pages)/sponsorships/page.tsx
- app/sitemap.ts
Co-authored-by: research <research@miriad.systems>1 parent fec9ddc commit b302934
18 files changed
Lines changed: 7 additions & 23 deletions
File tree
- app
- (main)
- (author)
- authors/page/[num]
- author/[slug]
- (guest)
- guests/page/[num]
- guest/[slug]
- (podcast)
- podcasts
- page/[num]
- podcast/[slug]
- (post)
- blog
- page/[num]
- post/[slug]
- (sponsor)
- sponsors/page/[num]
- sponsor/[slug]
- (top-level-pages)
- [slug]
- pro
- sponsorships
- lib/services
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
0 commit comments