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.

0.9.3

  • Blacklist is assumed to always be readable.
  • Changed bloginfo('url') to bloginfo('wpurl') for those that have weird installs.

0.9.2

  • Blacklist added. Edit the blacklist.php file manually.

0.9.1

  • Security fix. Files are now whitelisted instead of blacklisted.

0.9

  • Changed javascript content type to application/javascript
  • Have had to finally exclude a plugin: anything TinyMCE related. Yepp, nothing is as non-optimization-friendly as Tinymce.
  • Splits links and scripts into seperate lines in order to find them all.
  • SCRIPTS_GZIP-CSS and SCRIPTS_GZIP-JS template tags available.

0.8

  • Version bump for WP3.0 support
  • Removes empty lines from the merged CSS files.
  • More info in the readme.txt about what needs to be done in order for the plugin to work correctly

0.7

  • Javascripts are assembled at the beginning of the head, not at the end of the document.
  • FIX: External javascripts are ignored

0.6

  • Newly improved CSS gatherer / importer

0.5.6

  • case insensitive
  • url(/...) links are ignored just like url(http://)

0.5.5

  • @imports are now imported and parsed

0.5.4

  • Conditional Microsoft <!--[if defines are left alone

0.5.3

  • preg_match isn't as greedy anymore (links don't have to be on separate lines)
  • url()s with http in them aren't replaced anymore

0.5.2

  • Scripts must be local. No scripts on other machines.
  • Now works with WordPress installs not in the root directory
  • Parses PHP code in included files
  • Error_reporting set to 0

0.5.1

  • Now uses get_header as start hook, instead of init
  • Assumes CSS with no media to be "screen"
  • More robust CSS link finding
  • New screenshots

0.5.0

  • Initial public release

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

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