[wordpress插件] Defer CSS Addon for BWP Minify推迟BWP Minify的CSS插件

wordpress 插件 文章 2020-04-14 17:50 490 0 全屏看文

AI助手支持GPT4.0

评分
60
描述

BWP Minify is a powerful plugin to minify and compact several CSS files into only one.

BWP Minify 是一个功能强大的插件,可将多个CSS文件最小化并压缩为一个。

If the resulting CSS file is too big or large, this addon allows to defer the load of this generated CSS file moving their declaration from header to footer, and put it again using asynchronous javascript and DOM manipulation.

如果生成的CSS文件太大或太大,则此插件可以推迟将生成的CSS文件的声明从页眉移到页脚,然后使用异步javascript和DOM操作再次放置该CSS文件。

This technique is recommended to use in conjuntion with the “css-above-the-fold” practice, as well introducing early CSS in-page allows proper styling display while the main CSS file is still loading.

建议将此技术与“ css-above-the-fold”实践结合使用,同时引入早期的CSS页内功能可在仍加载主CSS文件的同时正确显示样式。

There are some options to do the above-the-fold optimization, also we have developed a CSS Above The

有一些方法可以进行首屏优化,我们还开发了 CSS之上

Fold plugin that reuses the current theme stylesheet extracting chunks of CSS code applying a special markup.

折叠插件,该插件可重用当前主题样式表,并使用特殊标记提取CSS代码块。

Another plugin that does this solution but providing an administration area to configure it manually is Autoptimize, that allows to define a specific

另一个实现此解决方案但提供管理区域以手动配置的插件是自动优化,它可以定义特定的

CSS code in a independent way of your theme CSS stylesheet.

以独立的主题CSS样式表的方式编写CSS代码。

安装步骤

    1. Unzip and upload defer-css-addon-for-bwp-minify folder to the /wp-content/plugins/ directory
    2. 将defer-css-addon-for-bwp-minify文件夹解压缩并上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Nothing else, make sure you have also activated the BWP Minify plugin.
    6. 没什么,确保您还激活了BWP Minify插件。

下载地址
https://downloads.wordpress.org/plugin/defer-css-addon-for-bwp-minify.1.0.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Do Not Load jQuery不加载jQuery
[wordpress插件] Author RSS Feed作者RSS提要
[wordpress插件] Discard html tags in comments舍弃评论中的html标签
[wordpress插件] BRS – Booking & Reservation System (WooCommerce)BRS –预订和预订系统(WooCommerce)
[wordpress插件] Advanced Google Maps Shortcode进阶Google Maps简码
随便看看
请问能不能在近期给我们增加推送次数? 478
公司目前有两个小程序二维码可以共用吗? 597
关于CanvasContext停止维护的问题,官方文档是不是写错了,怎么写着是2.9.0停止维护? 604
地图如何只显示某省市区的板块?其他全部隐藏。 2332
获取access_token接口,设置IP白名单问题,求官方解答 1125
iphone12 和 13 打开使用 web_view的小程序,关闭后打开白屏 求官方解答? 569
通过普通链接二维码打开小程序,如何在小程序指向页面获取二维码中的动态传参? 549
JSAPI支付和Native支付权限冻结,麻烦恢复一下~谢谢! 641
开通虚拟支付也是提示系统繁忙? 435
测试号报错,invalid appsecret? 1091