WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Scripts Gzip

A WordPress plugin to merge and compress the CSS and JS links on the page.

A WordPress plugin to merge and compress the CSS and JS links on the page. There are several optimizer plugins available but this one was written to be generally effective (not have tons of options) and easy to install and remove (no settings are saved).

It does not cache, minify, have a "PRO" support forum that costs money, keep any logs or have any fancy graphics. It only does one thing, merge+compress, and it does it relatively well.

The plugin rewrites url() addresses in the CSS files if necessary, leaving http:// and / links alone. If it breaks anything, don't be afraid to email me (edward@mindreantre.se) and tell me what breaks and where (preferrably with a link so I can see for myself).

For scripts_gzip to work your theme must:

  • Have a get_header() command
  • Have a wp_footer() command
  • Use quotation marks in the @import("filename") rules in the CSS files

If there are extra css or js files being included that you want ignored, edit the blacklist.php file.

If you want to put the CSS and/or JS links in a specific place in your theme, use the HTML codes: <!--SCRIPTS_GZIP-CSS--> and <!--SCRIPTS_GZIP-JS-->. Else the new css and js will be put the their default locations.

Requires: 2.8 or higher
Compatible up to: 3.0.5
Last Updated: 2010-10-3
Downloads: 24,378

Ratings

3 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,4,0 100,2,2 50,2,1 0,1,0 50,2,1
60,5,3 0,3,0 50,2,1
0,1,0 100,2,2
100,2,2 100,4,4
100,1,1
100,1,1
33,3,1
100,1,1
67,3,2
50,4,2
100,1,1