This will analyse any URL given and concatenate the CSS needed to display the “above the folder” HTML rendering, i.e. the “关键 CSS” or “关键 CSS 路径“。
一个不错的工具,正在运行 工作 没有它就很难做到。而且它直接返回一个已经压缩过的 CSS 版本。
You 必须 then incorporate this code into the head of your page(s), either manually, or with a dedicated plugin, or any cache or optimizer plugin.
这样就可以更快地渲染初始可见区域的顶部部分,而无需加载外部 CSS 文件。
- 这会提升你的谷歌指标吗?很可能
- 它会提升一次性访客的体验吗?很可能
- 它能提升回头客的体验吗?不能(因为它会增加每个添加此 CSS 的页面的大小,而不是只将其添加到只加载一次的外部文件中)。
提示1: 清除服务器或插件缓存后,请立即清除所有服务器或插件缓存。
技巧二: if going into that optimization route, in order to have the most suited CSS, it worth to make this trick once per every notably different group of page you have in your site, each one using likely a very different CSS (ex: forum pages, normal posts, custom post types …).
技巧三: 由于此 CSS 纯粹是静态代码(有意为之),因此每次对页面 CSS 进行重大更改时,都应该更新它。
























