Forums / Templates, Stylesheets, Page Layout / Should I compress my stylesheet.css

Should I compress my stylesheet.css

Locked

Views: 2,157

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
14 Nov 2010, 9:22 PM
#1
candylotus avatar

candylotus

New Zenner

Join Date:
Mar 2008
Posts:
57
Plugin Contributions:
0

Should I compress my stylesheet.css

Google webmaster tools is telling me the following

URL
/
Details: Save up to 10.5 KB, 2 requests

Enable gzip compression

Compressing the following resources with gzip could reduce their transfer size by 10.5 KB:
http://www.kamaainadeals.com//includes/templates/custom/css/print_stylesheet.css (313 bytes)
http://www.kamaainadeals.com//includes/templates/custom/css/stylesheet.css (9.40 KB)
http://www.kamaainadeals.com//includes/templates/custom/css/stylesheet_css_buttons.css (789 bytes)
Combine external CSS

There are 3 CSS files served from https://www.kamaainadeals.com. They should be combined into as few files as possible:
http://www.kamaainadeals.com//includes/templates/custom/css/print_stylesheet.css
http://www.kamaainadeals.com//includes/templates/custom/css/stylesheet.css
http://www.kamaainadeals.com//includes/templates/custom/css/stylesheet_css_buttons.css

/blog/?p=12
Details: Save up to 16.5 KB, 1 requests

Enable gzip compression

Compressing the following resources with gzip could reduce their transfer size by 16.5 KB:
http://www.kamaainadeals.com/blog/wp-content/themes/twentyten/style.css (16.1 KB)
http://www.kamaainadeals.com/blog/wp-includes/js/comment-reply.js?ver=20090102 (374 bytes)
Minimize redirects

Remove the following redirect chain if possible:
http://1.gravatar.com/avatar/951493bd93f6458376544bc0c4343467?s=40&d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40&r=G
http://1.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=40

I see in my Bluehost Cpanel there is an option for "compress" for each file. Should I hit it??????

15 Nov 2010, 9:13 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Should I compress my stylesheet.css

Are you actually using CSS buttons on your site? If not, delete the stylesheet_css_buttons.css file.
If you really think your stylesheets need to be compressed, there are several forum threads talking about methods you could use to do it if your webserver supports it. It may or may not even be necessary.
And, no, using cPanel to compress the file is not enough in itself.

All the other stuff is wordpress or wordpress-addon stuff, not Zen Cart stuff.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Nov 2010, 3:24 PM
#3
candylotus avatar

candylotus

New Zenner

Join Date:
Mar 2008
Posts:
57
Plugin Contributions:
0

Re: Should I compress my stylesheet.css

Would it really be worth any of it to save 27K? Is that a lot?