如何延迟解析 W3 Total Cache 的缓存和缩小的 javascript 文件的 javascript

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/29160350/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-28 10:08:45  来源:igfitidea点击:

How to defer parsing of javascript of W3 Total Cache's cached & minified javascript file

javascriptwordpresscachingw3-total-cache

提问by

How to defer parsing of JavaScript of W3 Total Cache's cached & minified JavaScript file. For Example

如何推迟对 W3 Total Cache 缓存和缩小的 JavaScript 文件的 JavaScript 的解析。例如

回答by Ruyman21

Best post ever explaining about a definitive solution.

有史以来解释明确解决方案的最佳帖子。

http://mygenesisthemes.com/defer-parsing-of-javascript-wordpress/

http://mygenesisthemes.com/defer-parsing-of-javascript-wordpress/

I have just deactivated w3. Don't know for sure if i will activate it back, since i had worse results with it ON than OFF. Probably because of the complexity to succesfully balance the configuration.

我刚刚停用了 w3。不知道我是否会重新激活它,因为我打开它比关闭它的结果更糟。可能是因为成功平衡配置的复杂性。