Skip to content

Improved static caching#289

Merged
lucaspar merged 6 commits into
masterfrom
lp/gwy-caching-control
May 29, 2026
Merged

Improved static caching#289
lucaspar merged 6 commits into
masterfrom
lp/gwy-caching-control

Conversation

@lucaspar
Copy link
Copy Markdown
Member

Solves cache invalidation for updates to static assets.

  • Better caching control over static assets
    using commit hash as version
  • Exposing commit hash in web interface to help debugging an instance
  • Upgraded project's pre-commit hooks and Gateway dependencies

@lucaspar lucaspar self-assigned this May 29, 2026
@lucaspar lucaspar added ci/cd GH actions, tests, builds, packaging, etc dependencies PRs that update dependencies: versioning, security patches, upstream fixes labels May 29, 2026
@semanticdiff-com
Copy link
Copy Markdown

semanticdiff-com Bot commented May 29, 2026

Review changes with  SemanticDiff

Changed Files
File Status
  gateway/package-lock.json  99% smaller
  gateway/.github/workflows/ci.yml  75% smaller
  gateway/sds_gateway/templates/base.html  69% smaller
  gateway/sds_gateway/users/tests/test_details_modal_registry.py  57% smaller
  gateway/sds_gateway/users/views/details_modal_registry.py  26% smaller
  .pre-commit-config.yaml  0% smaller
  gateway/compose.local.yaml  0% smaller
  gateway/compose/local/django/Dockerfile Unsupported file format
  gateway/compose/production/django/Dockerfile Unsupported file format
  gateway/compose/production/nginx/nginx-default.conf Unsupported file format
  gateway/config/settings/base.py  0% smaller
  gateway/justfile Unsupported file format
  gateway/scripts/update-version-json.sh Unsupported file format
  gateway/sds_gateway/apps.py  0% smaller
  gateway/sds_gateway/context_processors.py  0% smaller
  gateway/sds_gateway/monitoring/tests/test_admin_dashboard.py  0% smaller
  gateway/sds_gateway/users/templatetags/cache_busting.py  0% smaller
  gateway/uv.lock Unsupported file format

@lucaspar lucaspar requested a review from klpoland May 29, 2026 19:22
@lucaspar lucaspar force-pushed the lp/gwy-caching-control branch 2 times, most recently from 07cbcf6 to c28322a Compare May 29, 2026 21:29
@lucaspar lucaspar force-pushed the lp/gwy-caching-control branch from c28322a to a98ce6d Compare May 29, 2026 21:31
@lucaspar lucaspar merged commit a98ce6d into master May 29, 2026
1 of 2 checks passed
@lucaspar lucaspar deleted the lp/gwy-caching-control branch May 29, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd GH actions, tests, builds, packaging, etc dependencies PRs that update dependencies: versioning, security patches, upstream fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants