根据我在其他IT环境中的经验, 读取太多小文件会增加I / O时间。在我的wordpress网站中, 我已经查看了索引页面的源代码, 并了解到我的主页包含46个链接的CSS文件。
由于每个.CSS都属于主题之外的其他插件, 因此我想知道是否有任何方法可以将所有这些CSS文件捆绑在Wordpress中, 以减少I / O和加载页面所需的请求数量。
#1
你可能想在WordPress StackExchange网站上问这个问题, 以获取基于代码的解决方案, 但是一个快速的答案是有许多插件可以帮助你进行这种优化, 例如免费的插件Autoptimize。
来源:
https://www.srcmini02.com/64330.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_41430.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57