我通过谷歌页面速度洞察运行我的站点并得到以下消息:
首先,它列出了我在/site/default/file中无法识别的两个CSS文件
其次,它列出了我从.libraries.yml文件链接到的字体超赞css,如下所示:
font-awesome:
remote: https://fortawesome.github.io/Font-Awesome/
version: 4.5.0
license:
name: MIT
url: https://fortawesome.github.io/Font-Awesome/license/
gpl-compatible: true
css:
theme:
https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-
awesome.min.css: { type: external, minified: true }
bootstrap/assets/javascripts/bootstrap/transition.js: {}所以我的问题是双重的:
除了使用其他模块(如阿德维格 )之外
1)如何加快字体可怕css的交付?
2)这些其他CSS文件是什么?我如何加快它们的交付?
发布于 2017-04-24 14:38:53
https://drupal.stackexchange.com/questions/234773
复制相似问题