plugin-icon

WP CSS Merge

作者:digitalapps·
Safely combines compatible local stylesheets into cached bundles while preserving WordPress dependency order and automatic fallbacks.
版本
2.0.1
最后更新
Jul 27, 2026
WP CSS Merge

WP CSS Merge reduces compatible frontend stylesheet requests by combining local CSS files into cached bundles.

Version 2 uses a safety-first bundle engine:

  • Preserves the dependency and cascade order managed by WordPress.
  • Creates different bundles for different style sets instead of sharing one global file.
  • Keeps external, inline, conditional, RTL, unsupported, and excluded styles unchanged.
  • Rebases relative image and font URLs to their original public locations.
  • Writes cache files atomically in the current site’s uploads directory.
  • Automatically serves the original stylesheets whenever bundling is unavailable or unsuccessful.
  • Invalidates bundles when source files, versions, settings, locale, or queued style combinations change.
  • Supports multisite with a separate cache location for each site.

The plugin never downloads remote CSS, contacts external services, or sends telemetry.

Because HTTP/2 and HTTP/3 reduce the cost of multiple requests, combining every stylesheet is not always faster. WP CSS Merge therefore combines only contiguous styles that can be moved safely without changing their behavior.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 7.0.2
这个插件是可用的下载,适用于您的站点。