This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-www.git
The following commit(s) were added to refs/heads/master by this push:
new b0028b41 add dns prefetch
b0028b41 is described below
commit b0028b417bdd309f31810ce94fbfdf724a6f3f15
Author: plainheart <[email protected]>
AuthorDate: Mon Jul 8 11:40:30 2024 +0800
add dns prefetch
---
_jade/layouts/basic.jade | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/_jade/layouts/basic.jade b/_jade/layouts/basic.jade
index 756bbb3e..01ea199d 100644
--- a/_jade/layouts/basic.jade
+++ b/_jade/layouts/basic.jade
@@ -28,6 +28,14 @@ html(lang='#{htmlAttrLang}')
meta(name="keywords"
content="echarts,apache,charts,data-visualization,charting-library,visualization,data-viz,canvas,svg,plot,graph")
link(rel='shortcut icon',
href='#{cdnPayRoot}/#{ecWWWLang}/images/favicon.png?_v_=#{cdnPayVersion}')
+
+ if isCN
+ link(rel='dns-prefetch', href='https://lib.baomitu.com')
+ link(rel='dns-prefetch', href='https://registry.npmmirror.com')
+ else
+ link(rel='dns-prefetch', href='https://fastly.jsdelivr.net')
+ link(rel='dns-prefetch', href='https://cdn.jsdelivr.net')
+
link(rel='stylesheet', type='text/css',
href='#{cdn3rdRoot.bootstrapCSS}')
link(rel='stylesheet', type='text/css', href="#{getAssetUrl(host,
ecWWWLang + '/css/main.css')}")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]