diff --git a/docker/nginx.conf b/docker/nginx.conf index 7169bbe6..b8695155 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -16,6 +16,11 @@ server { add_header Cache-Control "public, max-age=31536000, immutable"; } + # Species SVGs/JSON: always revalidate (no hash in filename) + location /species/ { + add_header Cache-Control "no-cache"; + } + # SPA fallback — serve index.html for all non-file routes location / { try_files $uri $uri/ /index.html;