From 457f4266281d5d9378e88f57f40bcaf3e2b0152d Mon Sep 17 00:00:00 2001 From: Kelly Date: Mon, 1 Dec 2025 13:38:48 -0700 Subject: [PATCH] Add no-cache headers for WordPress plugin downloads MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prevents Cloudflare from caching zip file responses. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- frontend/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index d6496369..71b99d39 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -41,6 +41,13 @@ RUN echo 'server { \ add_header Cache-Control "public, immutable"; \ } \ \ + # WordPress plugin downloads - no cache for zip files \ + location /wordpress/ { \ + add_header Cache-Control "no-cache, must-revalidate"; \ + types { application/zip zip; } \ + default_type application/octet-stream; \ + } \ + \ # SPA fallback - serve index.html for all routes \ location / { \ try_files $uri $uri/ /index.html; \