[英]Why is minify js / css page speed and yslow different?
II在pagespeed标签上检查我的效果网页,结果如下:
如果我检查yslow选项卡,则结果如下:
为什么最小化js / css页面速度和yslow不同?
像这样的消息:
There are 9 components that can be minified
inline <style> tag #2
inline <style> tag #4
inline <script> tag #2
inline <script> tag #4
inline <script> tag #6
inline <script> tag #7
inline <script> tag #8
inline <script> tag #9
inline <script> tag #10
以及如何找出需要缩小的CSS和JS?
注意:我使用gtmetrix进行检查
PageSpeed
显示您已缩小js
和css
Yslow
显示您在多个页面上具有inline
style
和script
,可以将其添加到外部文件中,然后最小化以提高pagespeed
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.