Description
A WordPress plugin to merge and compress the CSS and JS links on the page.
This results in fewer calls to the server and less data to transfer. On a good day this plugin can merge 10+ calls into two: one for the CSS and one for the JS.

How to install
Download the latest version and enable the extension.
Download
Download the scripts_gzip plugin from wordpress.
Feedback
I would like to know if this works for everybody. If it doesn’t work I’d like to know what plugins y’all have installed so I can make the plugin more compatible. Just leave a comment or send me an email.

Ciao,
very usefull plugin, thanks.
Viper Video Quick Tags now show image of embeded video but they don’t play in the site after click, they go to youtube page and there play the video.
ciao
Giuseppe
I’ll take a look at it as soon as possible. Can’t have my plugin breaking things…
Couldn’t reproduce. You’ll have to give me more information.
Thanks Svara,
sorry for the time a i take to replay.
Url of page with embedded video may help:
http://www.soveratonews.com/2008/09/08/video-uragano-ike-nei-caraibi/
ciao
Giuseppe
Sorry, mindreantre
ciao
Hey man!
Thanks for this spart plugin…!
The page loads visibly faster but I cant’still use it!
It breaks hisghslide4wordpress and wp-cumulus at least, as I could see: the url of some elements of highslide become weird (like http://www.sitename.com/graphics/blabla.gif, without ”/wp-contents/plugins/pluginfolder”) and the flash element of wp cumulus does not load.
If you’ll have the time try to inspect, should not be hard to replicate.
Bye!
I installed wp-cumulus and managed to get it running with problems. The tags floated around and what not.
I’ll take a look at highslide now. In the meantime, you don’t happen to have a testsite where wp-cumulus breaks so I can see with my own eyes?
Same thing goes for highslide. It zooms up the pics and whatever and the plugin folder path is retained. You’ll have to show me how it breaks.
Well done, i will be writing about you on my secondary blog (not the one I listed here). You’ve done a great job with this one, a much needed plugin scripts_gzip. There are a lot of plugins out there and they don’t play well with each other. you’ve created a nice plugin i can use along side my other optimization plugins.
Thank you
Hi, the plugin is very useful indeed, but there is some issue that need to be fixed, at leas with my theme.
When I installed your plugin it messed up my page titles, it changes all of my page titles to ”videos” which is my category for videos. If i change the name of that category, that name transfers to a title in every single page. It overwrite my page title in other words. I’ve tried to delete that category, but then I get white screen with absolutely nothing. My version of wordpress was 2.8.5, now I’ve upgradet to 2.9.2(the latest) but the problem is still the same. Is there is some way to fix this, the prugin is working beautifully but it changes my titles in every page :(
I’m working on a new version that’s more robust in its @import stuff.
Hopefully it will solve that problem of yours also.
Thanks for the quick response. Looking forward for the new version :)
where do i find the settings? Or is there nothing to set at all?
oh, sorry to thank you ;-)
How do i know that this plugin is working for me. i didn’t find settings options like other plugin. if its really working for me than i would like to thank you because i had breakdown of my theme with other compression plugins.
Well, if you look at the page source you should see links to a gzip.php file… Then you know it works. :)
Just wanted to say thanks… I been using another plugin to compress my js, but just messed up a new plugin for comments, so yours seems to work just fine, thanks
Y’all’s welcome.
Hi,
thanks for your plugin.
It’s just broken for me with TinyMCE Comments.
I’ll have me a look at it.
I’ve ”fixed” it be completely ignoring all tinymce-related plugins. Should release a new version later today.
Incredible plugin! I was expecting it to break stuff like similar stuff I tried but it doesn’t – and I have a lot of plugins installed. Congratulations!
My question: it doesn’t seem to work on my homepage (it’s a WordPress page with a custom template):
http://www.stormymondays.com/
The blog page works correctly here:
http://www.stormymondays.com/rainydays/
Best regards,
Jorge
The only problem I see is that jquery isn’t being loaded.
Put this:
wp_enqueue_script('jquery');just above your wp_head() in your header().
Thanks for the quick reply!
Jquery is being loaded, in fact it was loaded by two different plugins. It’s now loaded only once, but that didn’t fix it. All the stuff loaded by wp_head doesn’t go through your plugin (always talking about the homepage and not the blog page).
Now, in the blog page, I’ve found it breaks one plugin: Referrer Detector:
http://wordpress.org/extend/plugins/referrer-detector/
Any idea on how to troubleshoot this?
Thanks!
Jorge
Update, I understand what you meant about adding wp_enqueue_script(‘jquery’); – and added it. It seems it still doesn’t load jQuery correctly?
If you look you’ll see that gigpress is causing problems on both sites. Jquery isn’t being loaded.
Yes, the only way to fix jQuery was to have Gigpress load it, then it loads in the correct order.
With that problem solved, I still have the problem with the homepage JS and CSS not going through your plugin, and Referrer Detector not working.
For the first problem, maybe your plugin is looking for , which I’m not using in that template?
It doesn’t seem to work at all on this site.
It is a custom template – do I need to do anything with the template?
http://www.recruitmentgenius.com
Could you zip the theme and send it to me?
Hi,
It work perfectly with all my plugins (including W3 Total Cache, WordPress Ultimate Security, WP Security Scan, Secure WordPress and more)
With Yslow : moving from grade C to A
But I’ve a small bug.
Indeed I’m using @font-face technique to use some exotic fonts and when I activate the plugin, all the fonts are moved to default.
Is there a settings I’ve missed ?
Thanks for your work, it’s a good plugin !
No settings. It’s probably a bug. Could you email me the css files?
edward@mindreantre.se
You should use bloginfo(‘wpurl’) instead of bloginfo(‘url’) in scripts_gzip.php (Two locations). I have the WP-installation in another directory and got a page without css and js on installation :)
I’ll have a look at it.
Done. v0.9.3
First of all, thanks for this great plugin.
My question is:
On my site, when I activate plugin, js compressed files take place above of my compressed css files. Is it special thing related with my theme or don’t you think that .js files should be under of css files, especially at the footer before tag?
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.
Just remove the spaces in the tags…
Now I checked this website source code and I see that it is same here…
Hi,
I would like to know if this plugin works in 3.1 version? On the other hand, could you tell me how to make multiple files exclusions, because if I put many strings one below the other the script count just the last one.
Thanks for this useful plugin.
First of all, thanks for this great plugin.
It really speeds up my css en js heavy website.
I’m having a hard time trying to get the Blacklist.php file to do what I want, however.
I wish to blacklist/ignore 2 of my javascript files and tried to add them to blacklist.php after tinymce.
tinymce
file1.js
file2.js
Only file1.js is ignored. File2.js is still included in the combined package.
Am I doing something wrong here?
Any help is much appreciated
Best regards,
Cha
Hi,
Thanks for the awesome plugin.
Will running two different gzip plugins cause any problems? Your plugin merges the CSS and JS scripts. I’m also using another one which I think compresses other elements of the site. It doesn’t merge the CSS and JS. At least it didn’t appear to for me. That’s why I added yours.
I’ve been getting a lot of timeouts to my SQL and internal errors since I enabled the both. I DON’T know that this is related to that but it appears to be. I know that compression helped me a lot.
Am I right that your plugin only deals with CSS and JS? Am I causing issues by running two compression plugins?
Thanks
Can’t really say. There will probably be race conditions between the plugins. I suggust only one css/js zipper at once.
Hello, it seems I have a problem with your plugin and WP-Postratings. I have an message showing on the blog: pe=’text/javascript’ src=’http://www.site.com/blog/wp-includes/js/jquery/jquery.js?ver=1.4.4′>
Hello! Thanks for your neat plugin! It doesn’t seem to work completely though…
It works perfectly with all the css-files but most js-files on my homepage are ignored.
Would you mind taking a look at this?
Thanks!
Hi I love your plugin EXCEPT the javascript portion doesn’t work for me. The plugin is putting the javascript call above the css and actually none of the javascript is then working.
But the CSS portion works brilliantly!
Any ideas?
Thank you!
Thanks for the plugin!
I’ve encountered the issue as Remwideco in that @fontface fonts don’t appear after the plug-in is enabled.
Hi,
Well, your plugin is very nice and works perfectly. But I would like sometimes to disable it when I’m working on the website. But if I disable it, all my css files go nuts and the website doesn’t seem to have css anymore… Not that good.
Didn’t work with a simple plugin called audio player. I have to add it into the blacklist. Could you pls have a quick look?
Hi, Excellent plugin, works without problems. One item to improve Google Page Speed is to put CSS before Javascript in of page. One tiny change requested to make that happen:
scripts-gzip.php line 181
$bufferOrig = preg_replace(‘//’, $link . ”, $bufferOrig);
This way Javascript gets injected just before closing and CSS is in front of Javascript
Thanks for your amazing plugin. Simple, effective, it was much better than all the work I had with W3TC minify, which doesn’t work well, specially under a custom nginx server.
Yours worked flawlessly, it was simple, has a blacklist… What else could we ask!
Thanks a lot!
hi edward..im not a computer expert…i just want to know how to install this plugins…is it just upload and activate?that it?i was searching for the plugin setting on my admin bar..but cannot find it..how do i measure that the plugin allready work and compressed my blog..
thx
Hello!
Great plugin, but have problems running it together with
http://initbinder.com/comprehensive-google-map-plugin
the google maps are no longer be displayed on posts after activate your plugin.
maybe you can have a look at it.
Thanks,
Kai