WordPress性能插件Asset CleanUp Pro v1.2.5.0

WordPress性能插件Asset CleanUp Pro

WordPress性能插件Asset CleanUp Pro  (page speed booster) – 优化网站性能的插件。 管理主页、帖子、页面和自定义帖子类型(例如 WooCommerce 产品页面、Easy Digital Downloads)上的 CSS 和 javascript 文件

演示:https://gabelivan.com/items/wp-asset-cleanup-pro/

推荐:WordPress配置文件插件Youzify 

特点 Asset CleanUp Pro:性能 WordPress 插件

  • 分类页面,例如默认 WordPress 的类别、标签和自定义创建的页面,例如来自 WooCommerce 的产品类别。
  • 作者页面(例如,显示特定作者发布的所有帖子的页面,通过 is_author() 功能)
  • 默认 WordPress 搜索页面
  • WooCommmerce 搜索页面(与通过以下方式检测到的实际商店页面具有相同的设置 is_shop() 功能)
  • 404 页面(未找到):这个页面尽可能轻,并且这里需要的许多 CSS 和 JavaScript 文件不太可能(通过检测到 is_404() 功能)
  • 日期存档页面:这是检索按日期过滤的文章的任何页面,通过 is_date() 功能

*对于加载的JavaScript文件,属性如 推迟异步 可以应用

有很多技术经常被用来延迟解析。 然而,简单且首选的技术是简单地将 JavaScript 的加载延迟到需要时。 如果此技术不适合在您的页面上使用,接下来建议您在适当的情况下使用

通过将解析延迟到浏览器的 UI 线程不忙于执行来防止解析阻塞初始页面加载别的东西。所有这些设置都可以在 Asset CleanUp Pro 中应用,无需编写任何代码。

*更改 CSS/JS 文件的位置(如果您需要提前触发特定文件,可以将其从 HEAD 移动到 BODY 以防止渲染阻塞,反之亦然)

*卸载硬编码的 CSS/JS(不通过标准的 WordPress 函数加载,例如 wp_enqueue_scripts())。LINK/STYLE/SCRIPT 标签可以通过编辑 PHP 代码(不使用正确的 WordPress 动作挂钩)、直接在帖子内容、小部件内或通过诸如“插入页眉和页脚”、“页眉、页脚和帖子”等插件添加注射剂”等。

* “测试模式”功能 → 担心优化错误?别再这样了!

这使您可以优化网站(卸载无用文件、设置异步、推迟加载的 JavaScript 文件、清理 HTML 代码),而无需“实时”应用更改(对常规访问者),以防您对更改可能存在任何疑问破坏页面/网站的功能。您所做的任何更改都将仅适用于您(登录的管理员)。一旦您对页面的外观和工作方式感到满意,您可以禁用“测试模式”以实时推送更改,以便其他人可以享受更快的页面加载。

推荐:WordPress安全插件Cerber Security Pro 

Changelog Asset CleanUp Pro 插件:Page Speed Booster 

= v1.2.1.8 - 5 September 2022 = 
* Optimisation: Reduce the number of queries made to the database & trigger fewer code during early code loaded in Asset CleanUp Pro's MU plugin (e.g. to determine if the URI is a homepage, to determine the page type based on the URI)
* "Plugins Manager": Make sure the green font shows for any load exception rule that is chosen
* "Plugins Manager" Fix: When non-latin characters were used in the URI, some plugin unload/load exception rules were not working such as the ones based on the post type (e.g. post, page, product, tag) and taxonomy (e.g. category, tag, product category, product tag)
* "Plugins Manager" Fix: The load exception rule was not applied for plugins on taxonomy pages ('category', 'post_tag', 'product_cat', 'product_tag') when set using the following option: "On the following taxonomy pages:"

⭐ Asset CleanUp Pro插件在与WP Rocket 插件结合使用时将获得最佳性能

免费下载 Asset CleanUp Pro v1.2.5.0

注意:可能您需要在安装插件之前解压缩。如果任何主题/插件包含病毒,我们不提供任何保证。在 localhost 上使用之前,请检查 Virustotal。


发表评论