This is an automated email from the ASF dual-hosted git repository.

ntimofeev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne-website.git

commit be7fc68ade7fee4b172d012ff935599ee7ff500b
Author: Nikita Timofeev <stari...@gmail.com>
AuthorDate: Thu Mar 14 17:39:47 2024 +0400

    Add `Cache-Control` for .zip files
---
 src/main/site/static/.htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/site/static/.htaccess b/src/main/site/static/.htaccess
index 3a6a739c5..67f9833b3 100644
--- a/src/main/site/static/.htaccess
+++ b/src/main/site/static/.htaccess
@@ -82,7 +82,7 @@ ErrorDocument 404 /404.html
 RedirectMatch 404 /\.git
 
 # Cache for one month static assets
-<filesMatch ".(css|jpg|jpeg|png|gif|svg|js|ico)$">
+<filesMatch ".(css|jpg|jpeg|png|gif|svg|js|ico|zip)$">
 Header set Cache-Control "max-age=2628000, public"
 </filesMatch>
 

Reply via email to