diff --git a/core/templates/base.html b/core/templates/base.html index 1fb66f6..72c2631 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -25,7 +25,12 @@ - + {# `deployment_timestamp` is provided by core.context_processors.project_context — + it's injected into every template so the browser (and any CDN in front of + the app) sees a fresh URL whenever the process restarts. The old template + used `request.timestamp` which doesn't exist on Django request objects and + always fell back to a fixed '1.0' — meaning CDNs cached the CSS forever. #} + {% block extra_css %}{% endblock %}