djangoplay-web / Runbooks / Runbook — Frontend R2/CDN
DocsDjangoPlay WebRunbooksRunbook — Frontend R2/CDN

Runbook — Frontend R2/CDN

Check representative URLs with:

1 min readApplies to v1.2.2
On this page ▾
  1. Build
  2. Push
  3. Verify
  4. Common Failure
  5. Rollback

Build

bash
bash webapp/frontend/packaging/minify.sh

Push

bash
bash webapp/frontend/packaging/minify.sh r2

Verify

bash
curl -I <public-r2-url>

Confirm the expected release version appears in the path.

Common Failure

If the browser reports 404s for:

text
dist/
assets/
vendor/
generated/

check:

  1. FRONTEND_ASSET_VERSION
  2. R2 bucket
  3. uploaded prefix
  4. public base URL
  5. CDN-enabled setting
  6. CSS absolute URL rewriting

Rollback

Point the environment back to a previously uploaded asset version if that version is still available.