Temperature
61.7°F
Wind Speed
11.5 km/h

Data fetched at:

Page generated at:

How It Works

This page demonstrates Scheduled Functions with Cache Tags and Blobs for daily updates.

  1. A Scheduled Function runs daily
  2. It fetches weather data and saves it to Netlify Blobs
  3. It purges the weather-sf cache tag via the Cache API
  4. On next visit, the page regenerates with fresh data from Blobs
  5. The page is re-cached with Netlify-CDN-Cache-Control until the next purge