Recently, I received feedback from my friends, saying that the self used DUX theme of Text Cafe is not as fast as before. Text Cafe found that there was a problem with js loading when checking its blog add in.
1. Problem description
Previously, the self used DUX theme of Text Cafe was started in seconds, but now it is a bit stuck, and the loading time is much longer than before. The optimization effect of using cache is not obvious!
2. Problem description
This is mainly caused by the previously added MathJax function of Literal Cafe. Because Literal Cafe directly calls the managed js file, but for some unknown reason, the js can no longer be called, resulting in slower loading.
3. Solution
Open the header.php file in the theme file directory, and delete the line of code in the head tag!
<script type="text/javascript" src=" https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX -MML-AM_CHTML"></script>