Running 3.0.6
Grabbed Store Optimizer from Marketplace store.
Installed it ( although no Settings available in Add ons ).
Seems to have sped things up a little according to gtmetrix
but tested site elsewhere and found 'no gzip compression'.
Is Store Optimizer supposed to do this gzip compression ??
no gzip is seperate,
You can do it various ways…through cpanel, via .htaccess etc. If you search for it you could give it a go. Some things like certain addons dont like it but give it a go.
John
gzip compression is in the distributed .htaccess with the cart.
Thanks guys.
I examined the htaccess file at the root ( which I presume to be
where all the cart folders are one level down from public_html ) but
can't find any mention of gzip.
Too easy I guess…lol
Did you mean ADD code to the file as per http://forum.cs-cart…cart-version-3/ ??
( I couldn't find any mention of gzip in the suggested code )
There is a configuration file in the smartoptimizer folder where you can enable/disable gzip. It should be enabled by default.
Yes…yes…no…
No config file found and no occurrence of ‘gzip’ in any file.
My (upgraded) V4 environment has the following in the .htaccess. Whether it's there in the currently distributed .htaccess I don't know.
AddEncoding gzip .gz
RewriteCond %{REQUEST_FILENAME} \.(js|css)$
RewriteCond %{HTTP:Accept-encoding} gzip
RewriteCond %{REQUEST_FILENAME}.gz -f
RewriteRule ^(.*)$ $1.gz [QSA,L]
ForceType text/css
Header set Content-Encoding: gzip
Header set Cache-control: private
ForceType text/javascript
Header set Content-Encoding: gzip
Header set Cache-control: private
Header set Access-Control-Allow-Origin "*"
Thanks tbirnseth.
No such file in 3.0.6
I have approached my web host to enable Website Optimizer in my cPanel plus
quizzed Marketplace. Awaiting responses.
Thanks for all your help to date.
Sorry, thought you were discussing V4. Same .htaccess code will work. It has nothing to do with cs-cart or php. It's done at the web-service level (I.e. Apache).
The Store Optimizer add on seemed to improve things.
Activating 'Optimize Website' in my cPanel made it better again.
[quote name=‘termalert’ timestamp=‘1398937334’ post=‘182736’]
Yes…yes…no…
No config file found and no occurrence of ‘gzip’ in any file.
[/quote]
My bad. I confused “Store” with “Smart”.