diff --git a/api/now-playing.js b/api/now-playing.js index b452d29a..1c906277 100644 --- a/api/now-playing.js +++ b/api/now-playing.js @@ -58,7 +58,7 @@ export default async () => { const MUSIC_KEY = Netlify.env.get("API_KEY_LASTFM"); const headers = { "Content-Type": "application/json", - "Cache-Control": "public, s-maxage=3600", + "Cache-Control": "public, s-maxage=3600, stale-while-revalidate=10800, stale-if-error=10800", }; const traktRes = await fetch("https://api.trakt.tv/users/cdransf/watching", { diff --git a/package.json b/package.json index 7145d576..3159e0d6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "6.9.1", + "version": "6.9.2", "description": "The source for my personal site. Built using 11ty and hosted on Netlify.", "type": "module", "scripts": {