"""The SPA shell revalidates on every load. It names the content-hashed
bundles, so a cached shell after a deploy points at files the new image no
longer carries — the app looks stale, or breaks, until a hard reload."""


def test_the_spa_shell_is_never_cached(client):
    r = client.get("/")
    if r.status_code == 503:            # no built frontend in this checkout
        return
    assert r.headers.get("cache-control") == "no-cache"
