Files
devplacepy/devplacepy/static/js
retoorandClaude Sonnet 5 85bd8fad47
DevPlace CI / test (push) Failing after 27m37s
Unify static asset cache-busting with the auto-bumped app version
config.STATIC_VERSION becomes f"{APP_VERSION}-{BOOT_ID}": APP_VERSION is
read live from pyproject.toml's version (auto-bumped on every commit by
.githooks/pre-commit), BOOT_ID is the same per-process launch marker as
before (DEVPLACE_STATIC_VERSION env or a wall-clock fallback). The static
asset URL /static/v<version>/... now names the actual commit's version
alongside the boot marker, instead of a bare timestamp.

Fixes nginx/nginx.conf.template's versioned-mount location regex, which
matched digits only (^/static/v\d+/) and would have silently dropped the
immutable, max-age=31536000 cache header for every asset in production
once the version segment carried a dot or hyphen. Verified live against a
running instance that the header still applies to the new URL shape.

Updates README, devplacepy/static/js/CLAUDE.md, and the
/docs/static-caching.html page to describe the new APP_VERSION/BOOT_ID
composition.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TwLhnueWrsK15wrieXE5m7
2026-09-07 16:27:28 +02:00
..
2026-07-19 18:57:43 +02:00
2026-07-26 16:46:41 +02:00
2026-07-09 02:52:54 +02:00
2026-07-07 15:28:28 +02:00
2026-07-19 18:57:43 +02:00
2026-07-07 15:28:28 +02:00
2026-08-10 00:23:20 +02:00
2026-07-26 16:46:41 +02:00
2026-07-26 16:46:41 +02:00
2026-07-26 16:46:41 +02:00
2026-07-19 18:57:43 +02:00
2026-07-09 02:52:54 +02:00
2026-08-16 04:01:17 +02:00
2026-07-09 02:52:54 +02:00
2026-07-26 16:46:41 +02:00
2026-07-07 15:28:28 +02:00
2026-07-09 02:52:54 +02:00
2026-09-03 08:47:57 +02:00