Weather in San Francisco
Data updated daily via scheduled functions
Temperature
61.7°F
Wind Speed
11.5 km/h
How It Works
This page demonstrates Scheduled Functions with Cache Tags and Blobs for daily updates.
- A Scheduled Function runs daily
- It fetches weather data and saves it to Netlify Blobs
- It purges the
weather-sfcache tag via the Cache API - On next visit, the page regenerates with fresh data from Blobs
- The page is re-cached with
Netlify-CDN-Cache-Controluntil the next purge