diff --git a/frontend/src/components/SolarActivity/SolarData.tsx b/frontend/src/components/SolarActivity/SolarData.tsx index 181fab8..4c8990f 100644 --- a/frontend/src/components/SolarActivity/SolarData.tsx +++ b/frontend/src/components/SolarActivity/SolarData.tsx @@ -15,6 +15,11 @@ type SolarData = SolarDataEntry[]; async function getSolarData(): Promise { const res = await fetch( "https://services.swpc.noaa.gov/products/noaa-planetary-k-index-forecast.json", + { + next: { + revalidate: 60 * 60 * 24, // revalidate every 24 hours + }, + }, ); if (!res.ok) {