You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2020/01/06 09:52:27 UTC

[incubator-echarts-website] 01/02: try to reduce the cache time

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

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

commit 712b69751e1298d567662680e6ad26a673c2355f
Author: 100pah <su...@gmail.com>
AuthorDate: Mon Jan 6 17:39:22 2020 +0800

    try to reduce the cache time
---
 .htaccess | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.htaccess b/.htaccess
index ef37cad..5e506b1 100644
--- a/.htaccess
+++ b/.htaccess
@@ -5,5 +5,8 @@
   ExpiresByType image/png                 "access plus 1 hour"
   ExpiresByType image/jpg                 "access plus 1 hour"
   ExpiresByType image/jpeg                "access plus 1 hour"
-  ExpiresDefault                          "access plus 30 days"
+  ExpiresByType text/css                  "access plus 1 hour"
+  ExpiresByType application/javascript    "access plus 1 hour"
+  ExpiresByType application/json          "access plus 1 hour"
+  ExpiresDefault                          "access plus 10 days"
 </IfModule>


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