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

wangzx pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/echarts-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new eee6ab56b update .htaccess
eee6ab56b is described below

commit eee6ab56bb5e819a9225a6bb48bd46553c9111a5
Author: Zhongxiang Wang <y...@all-my-life.cn>
AuthorDate: Sat Feb 24 15:14:45 2024 +0800

    update .htaccess
---
 .htaccess | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.htaccess b/.htaccess
index 2eb1221c5..d29f6b326 100644
--- a/.htaccess
+++ b/.htaccess
@@ -16,8 +16,10 @@ RedirectMatch 404 /\.asf\.yaml
     Header set X-Content-Type-Options "nosniff"
 </IfModule>
 
-<IfModule mod_expires.c>
-    ExpiresActive on
+<IfModule mod_expires.c>E
+    # disable expiration as the Apache server will also cache the `Expires` 
header,
+    # which causes our expiration strategy not to work.
+    #ExpiresActive on
 
     ExpiresByType text/html                 "access plus 1 hour"
     ExpiresByType text/css                  "access plus 1 hour"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to