跳到内容

Optimize Scripts & Styles

v1.9.7

Sean Michaud · 2018年6月20日 上架

Optimize Scripts & Styles combines scripts and styles on your site, minifies them and provides cachable versions for improved site performance.

正在使用
40+
评分
5.0 / 5
累计下载
1.2 万
最近更新
2026年4月21日
2 条评价需要 WordPress 6.1+已测试到 6.8.13PHP 7.4+

贡献者

截图

Admin Options
Admin Options
Cached Files List
Cached Files List
Pre-Optimized Header
Pre-Optimized Header
Optimized Header
Optimized Header
Pre-Optimized Footer
Pre-Optimized Footer
Optimized Footer
Optimized Footer

Optimize Scripts & Styles optimizes your site’s JavaScript and CSS files by combining, minifying and caching them. This will help your site’s overall performance and user experience by reducing the number of files served up and the overall size of these files.

For developers, this allows you to maintain uncompressed versions for development themes or plugins, while compressing them for a production environment.

For you SEO buffs, it cleans up the number of scripts that get included and downloaded to your site visitors, helping your overall PageSpeed score.

Header and footer script locations are maintained as well as any localized data used for the scripts and the minified files are stored in the /cache folder, making it friendly for plugins like WP Super Cache. Media attributes are also maintained for print stylesheets.

Features

  • Combine & minify all JavaScript & CSS that is enqueued
  • Stores the optimized files in the cache folder for faster page loads
  • Compatible with caching plugins like WP Super Cache and W3 Total Cache
  • Enable for logged in users (not recommended)
  • Available options to remove or ignore enqueued scripts and styles
  • Optional button in the admin bar to clear scripts and styles
  • Includes an option to remove script type attributes for HTML5 validation

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums