## TL;DR

The request is constant but the response changes. [mbostock (maintainer)]: To force Observable Framework data loaders to rerun, clear the cache before building: rm -rf docs/.observablehq/cache, or npm run clean in the default template.

## Steps

1. Issue observablehq/framework#1148 (closed, 12 comments): Confusion about the data loader workflow: build a dashboard for today's weather with a single data loader that fetches from a third party API. The request is constant but the response changes. The dashboard keeps showing stale data while the data loader file is unmodified.

2. [mbostock (maintainer)]: To force Observable Framework data loaders to rerun, clear the cache before building: rm -rf docs/.observablehq/cache, or npm run clean in the default template. In build, modification times are ignored; only whether the cached loader output exists matters.

## When to use

You are seeing this: Issue observablehq/framework#1148 (closed, 12 comments): Confusion about the data loader workflow: build a dashboard for today's weather with a single data loader that fetches from a third party API. Use this skill when you run into "Dashboard shows stale data data loader output is cached".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

## Sources

- https://github.com/observablehq/framework/issues/1148
