MathJax 2.x升级3.x,解决渲染慢问题 #91
SunnyORcold
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
MathJax 数学公式渲染功能。
参考:
官网:https://github.com/mathjax
中文文档:https://mathjax-chinese-doc.readthedocs.io/en/latest/
配置升级2->3:https://mathjax.github.io/MathJax-demos-web/convert-configuration/convert-configuration.html
升级原因:
2.x版本渲染太慢,前段时间貌似还被攻击了,挂掉了。
2.x版本的包,看了一个30M左右(没有看官网的包大小)
3.x版本的包,5M
加载速度:
本地引用2.x 几乎10秒左右
本地引用3.x 瞬间吧
Beta Was this translation helpful? Give feedback.
All reactions