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 4e0dd61ba Update .htaccess
4e0dd61ba is described below
commit 4e0dd61bac09c19ff341c5cb692f7ea38ebc2261
Author: Zhongxiang Wang <[email protected]>
AuthorDate: Fri Feb 23 10:20:03 2024 +0800
Update .htaccess
---
.htaccess | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/.htaccess b/.htaccess
index fc8585f12..2eb1221c5 100644
--- a/.htaccess
+++ b/.htaccess
@@ -19,14 +19,19 @@ RedirectMatch 404 /\.asf\.yaml
<IfModule mod_expires.c>
ExpiresActive on
- ExpiresByType text/html "access plus 1 hour"
- ExpiresByType image/png "access plus 1 hour"
- ExpiresByType image/jpg "access plus 1 hour"
- ExpiresByType image/jpeg "access plus 1 hour"
- ExpiresByType text/css "access plus 1 hour"
+ ExpiresByType text/html "access plus 1 hour"
+ 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"
+ ExpiresByType application/json "access plus 1 hour"
+ ExpiresByType text/javascript "access plus 1 hour"
+ ExpiresByType text/json "access plus 1 hour"
+
+ #ExpiresByType image/png "access plus 1 hour"
+ #ExpiresByType image/jpg "access plus 1 hour"
+ #ExpiresByType image/jpeg "access plus 1 hour"
+ #ExpiresByType image/webp "access plus 1 hour"
+
+ ExpiresDefault "access plus 10 days"
</IfModule>
# no cache for root index redirection
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]