mshr Posted September 5, 2021 Share Posted September 5, 2021 (edited) 本文将对 Invision Community 进行一些改动,以提高加载速度和用户体验 前期准备 Visual Studio Code CDN 列表 jsDelivr Staticfile CDN 感谢以上网站提供的免费 CDN 加速服务,让我们有更好的访问速度 Twemoji 打开 applications\core\data\javascript.xml applications\core\data\lang.xml system\Output\Output.php 将 https://twemoji.maxcdn.com/2/72x72 全部替换为 https://cdn.jsdelivr.net/gh/twitter/twemoji/assets/72x72 reCAPTCHA 打开 applications\core\data\javascript.xml applications\core\data\theme.xml system\Helpers\Form\Captcha\Invisible.php system\Helpers\Form\Captcha\Recaptcha2.php 将 https://www.google.com/recaptcha 全部替换为 https://www.recaptcha.net/recaptcha Font Awesome 打开 admin\install\css\fonts.css admin\upgrade\css\fonts.css 将 ../font 全部替换为 https://cdn.staticfile.org/font-awesome/4.0.3/fonts 打开 applications\core\data\theme.xml 将 http://netdna.bootstrapcdn.com 替换为 https://cdn.staticfile.org 将 {url="applications/core/interface/font/fontawesome-webfont.woff2?v=4.7.0" base="none" noprotocol="true"} 全部替换为 https://cdn.staticfile.org/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0 将 {url="applications/core/interface/font/fontawesome-webfont.woff?v=4.7.0" base="none" noprotocol="true"} 替换为 https://cdn.staticfile.org/font-awesome/4.7.0/fonts/fontawesome-webfont.woff?v=4.7.0 将 {url="applications/core/interface/font/fontawesome-webfont.ttf?v=4.7.0" base="none" noprotocol="true"} 替换为 https://cdn.staticfile.org/font-awesome/4.7.0/fonts/fontawesome-webfont.ttf?v=4.7.0 完成 Edited February 13, 2023 by Jack Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now