SCC compression - Post ID 129936

User 1947912 Photo


Registered User
114 posts

I have been having a few problems with google reporting slow loading times on certain areas of my website. Google has reccomended gzip for these pages however my problem is that my server does not support htaccess. Is there a way i can compress my store with gzip manually. Iv heard that you can add a snippet of code to the php pages which will make this work. Is this possible with scc and how do you do it? Also is there a way to gzip the html files without converting them to php files? Im new to this compression area however my scc store is suffering in the speed area quite a bit compared to the rest of the site. If anyone can help or knows anything else to speed up my store id be very gratefull
www.andysmotorcycles.com
support@andysmotorcycles.com
(01782) 818097
Order motorcycle, scooter and motocross parts, spares and accessories online now.
User 1947912 Photo


Registered User
114 posts

Due to the lack of replies, im gonna carry out a little experiment and try to add to following line of code to the top of each .php file that scc generates and upload it.
<? ob_start("ob_gzhandler"); ?>

Il run a gzip test tool to then see if it has worked and how much it has compressed my pages, if any. Il post my results if successfull
www.andysmotorcycles.com
support@andysmotorcycles.com
(01782) 818097
Order motorcycle, scooter and motocross parts, spares and accessories online now.
User 364143 Photo


Guest
5,410 posts

David posted some guidance on the use of compression that you may find beneficial.

David Sellers wrote:
It is important to note that there can be significant server overhead involved when using gzip on the fly. This is especially true on shared hosting plans (if your host supports it, most don't). You will have your server process time cut down significantly. This leads to a less responsive/unresponsive website. On dedicated servers built more recently and with a great deal of memory, the effects are negligible. If you're on Apache 2+, mod_deflate is you're only option as mod_gzip isn't used anymore. Pre Apache 2 use gzip. I always defer to Sitepoint when researching these things. YMMV

http://articles.sitepoint.com/article/web-output-mod_gzip-apache
CoffeeCup... Yeah, they are the best!
User 1947912 Photo


Registered User
114 posts

I have always used gzip on my sever without problems before and usualy always halves loading times. What exactly do you mean? Scc seems to be very slow compared to the rest of my site and google webmaster tools is reporting that many of my shop php pages should be gzipped. This is affecting my google rank. Does anyone else have any suggestions?
www.andysmotorcycles.com
support@andysmotorcycles.com
(01782) 818097
Order motorcycle, scooter and motocross parts, spares and accessories online now.
User 364143 Photo


Guest
5,410 posts

I don't mean anything specifically. I thought I'd pass some useful information concerning gzip that you may not have been aware of, especially on shared hosting accounts. If it's working for you, that's great. :)
CoffeeCup... Yeah, they are the best!
User 562592 Photo


Registered User
2,038 posts

Tom is right concerning gzip. What you are looking for (regarding your code) is called "deflation". I am not sure if it is the same with php or not. I wouldn't worry too much about the speed issue, it only effects your page rank, not your search rankings; and google is getting rid of their page ranking.
The philosopher has not done philosophy until he has acted upon the mere conviction of his idea; for proof of the theory is in the act, not the idea.

My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).

My Personal Website: http://www.EricSEnglish.com


Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.