Skip to content

Commit c6d068c

Browse files
committed
no cache
1 parent 6ed02c1 commit c6d068c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

app/feed.xml/route.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ export async function GET() {
4343
return new Response(feed.rss2(), {
4444
headers: {
4545
'Content-Type': 'application/xml',
46-
'Cache-Control': 's-maxage=3600, stale-while-revalidate'
46+
'Cache-Control': 'no-store, no-cache, must-revalidate, proxy-revalidate',
47+
'Pragma': 'no-cache',
48+
'Expires': '0',
4749
}
4850
})
4951

public/robots.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
User-agent: *
22
Allow: /
3-
Disallow: /api/
43

54
# Sitemap
65
Sitemap: https://ppippi-dev.github.io/sitemap.xml

0 commit comments

Comments
 (0)