As the holiday season quickly approaches, lest we forget all that we have to be thankful for:
“I have too much to be thankful for. I can’t take anything for granted.”
-RN
“Family, friends, food and a new Muppets movie.”
-BS
“Thankful for the people at iFuel (seriously!), a new home, awesome wife, baby on the way and God’s many blessings this year.”
-RW
“I am thankful for my Mom and Dad, they raised me and they tried all their best to make me the guy that I am now. Mom and Dad- thank you very much.”
-NM
“I am thankful for my family, my Lobster, my friends, and my sisters. No matter what hardships we may face, it is important to remember all that we still have.”
-JD
If you’re running Magento on OpenSuse (or any platform for that matter), you can really benefit from turning on http compression, especially to remote areas or from hosts that have limited bandwidth.
There are a lot of references out there on this, but you have to sort of pull it all together on your own for this particular combination.
Verify that mod_deflate has been installed in Apache:
1. Open /etc/sysconfig/apache2.
2. Find the line that starts:
APACHE_MODULES=…
3. Verify that “deflate” is one of the modules listed (may not be in alphabetical order).
Now, enable compression in the virtual host file for your site:
1. Open /etc/apache2/vhosts.d/.conf.
2. Add the following lines inside the tag:
<IfModule mod_deflate.c>
DeflateBufferSize 32768
DeflateCompressionLevel 5
<Location />
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|tiff)$ no-gzip dont-vary
# Header append Vary User-Agent env=!dont-vary
</Location>
</IfModule>
Now restart Apache using:
sudo /etc/init.d/apache2 restart
and you should be in business!
Validate that compression is working
A great, handy online site that you can use to validate that compression is working is http://www.gidnetwork.com/tools/gzip-test.php.
=============================
“e-commerce done right”
http://www.ifuelinteractive.com