diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml
index 046a4eca..63f3b208 100644
--- a/.gitea/workflows/deploy.yml
+++ b/.gitea/workflows/deploy.yml
@@ -25,6 +25,11 @@ jobs:
python -m pip install --quiet beautifulsoup4
python tools/build_search_index.py
+ - name: Bundle CSS and refresh asset versions
+ run: |
+ python tools/build_css_bundle.py
+ python tools/cache_bust.py
+
- name: Deploy to Server via rsync
run: |
sudo apt-get update -qq
diff --git a/.htaccess b/.htaccess
index 7041b58d..a8ee7df6 100644
--- a/.htaccess
+++ b/.htaccess
@@ -70,13 +70,13 @@ Options -Indexes
# ----- Browser caching -----
-# No file-hashing on this site, so keep CSS/JS short (updates must propagate)
-# and cache images/fonts longer. HTML is always revalidated.
+# CSS/JS references carry a global content hash from tools/cache_bust.py, so
+# browsers can keep those immutable assets for a year. HTML is revalidated.