You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2021/08/31 10:38:29 UTC

[echarts-website] branch asf-site updated: try to add Vary header

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 9498aea  try to add Vary header
9498aea is described below

commit 9498aea4e7bfd84ea3a6fed487ba46d6b9c7d6da
Author: Zhongxiang.Wang <yh...@all-my-life.cn>
AuthorDate: Tue Aug 31 18:38:21 2021 +0800

    try to add Vary header
---
 .htaccess | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.htaccess b/.htaccess
index 28ea9cc..ba3683b 100644
--- a/.htaccess
+++ b/.htaccess
@@ -6,6 +6,10 @@ Header set Access-Control-Allow-Origin "https://echarts.apache.org"
 Header set Access-Control-Allow-Methods: "*"
 Header set Access-Control-Allow-Headers: "*"
 
+<FilesMatch "\.html$">
+  Header append Vary: "negotiate,accept-language,accept-charset"
+</FilesMatch>
+
 <IfModule mod_expires.c>
   ExpiresActive on
 

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