Smart optimizer and Cs-Cart 3.0.2

Hi tryd to install smart optimizer but it brakes my skin.



has any of you got it to work?

Have you tried deleting the .htaccess file in the smartoptimizer folder. i have it working on V3.0.2 fine

john

hmm cant get it to work. i have deletet the htaccess file in smart optimizer folder but it breaks my skin.



can you post your htaccess? or maby in a private message if you want



jaochim

make sure your folder smartoptimizer/cache is 777 permisions.



You also may have to add in your original .htaccess (but make a copy of this before you change anything)

```php


bof smartoptimizer





ExpiresActive On

ExpiresDefault “access plus 10 years”







RewriteEngine On



RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(..(js|css))$ smartoptimizer/?$1





RewriteCond %{REQUEST_FILENAME} -f

RewriteRule ^(.
.(js|css|html?|xml|txt))$ smartoptimizer/?$1







RewriteCond %{REQUEST_FILENAME} -f

RewriteRule ^(.*.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt|ico))$ smartoptimizer/?$1







FileETag none


eof smartoptimizer

```



John

the permission is set to 777 og the cache folder but no dice. i tryd some difrent htaccess files but no luck.



this is my htaccess: (it needs some cleaning but works great just not with smartoptimizer)





DirectoryIndex index.html index.php





RewriteEngine On

RewriteBase /

#FileETag none

Pleas note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon.

Some hostings require RewriteBase to be uncommented

Example:

Your store url is [url=“http://www.yourcompany.com/store/cart”]http://www.yourcompany.com/store/cart[/url]

So “RewriteBase” should be:

RewriteBase /store/cart

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !.(png|gif|ico|swf|jpe?g|js|css)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php?sef_rewrite=1 [L,QSA]













SetOutputFilter DEFLATE











FileETag none



FileETag MTime Size





ExpiresActive on

ExpiresDefault “access plus 1 year”







#Expire Header



ExpiresDefault “access plus 30 days”





and my config.local.php





// Tweaks

$config['tweaks'] = array (

'js_compression' => true, // enables compession to reduce size of javascript files

'check_templates' => true, // disables templates checking to improve template engine speed

'inline_compilation' => true, // compiles nested templates in one file

'anti_csrf' => false, // protect forms from CSRF attacks

'disable_block_cache' => false, // used to disable block cache

'join_css' => true, // is used to unite css files into one file

'allow_php_in_templates' => false, // Allow to use {php} tags in templates

'disable_localizations' => true, // Disable Localizations functionality

'disable_google_base' => true, //Disable obsolete google base functionality





the shop is a default shop V 3.0.2 on a vps server.



joachim

did you try to add the stuff I posted above into your .htaccess ? did it not work after clearing cache

add it below the first

John

hi Johnbol1



yes i tryd it and it dos not work :-/



well i gues i just have to satisfyd whit the 2 sec load time i get now from denmark:-/



if any of you have a difrent htaccess pleas post it so i can try it



thanks you all

My 2 pennies for Smart Optimizer.



In my experience my site is no faster with or without Smart Optimizer as long as I have gzip enabled in php.ini. Yes, with Smart Optimizer my Page Speed score was about 88 and without it is about 65 but there is no difference in the load time of my site. My average load time according to Google is about 1/2 second and this is on a shared server.

I double down on those 2 pennies

My 3 2.x sites are definitely faster with SO. After installing I immediately “felt” the difference when surfing my site.



P.S. you can set [color=#282828][font=arial, verdana, tahoma, sans-serif]'js_compression' => false [/font][/color]



SO already does that and it doesn't need to be compressed twice, this will only slow things down

[quote name='Flow' timestamp='1347171086' post='144612']

My 3 2.x sites are definitely faster with SO. After installing I immediately “felt” the difference when surfing my site.[/quote]



More than likely you do not have gzip enabled on the server. The default setting for gzip is “disable”.

Installed Smart Optimiser on my 3.0.3 Ultimate store today.



Before:



F

Page Speed Grade:

(47%)

74%



D

YSlow Grade:

(64%)

75%

Page load time: 9.40s

Total page size: 1.13MB

Total number of requests: 70



After:



B

Page Speed Grade:

(86%)

74%



C

YSlow Grade:

(79%)

75%

Page load time: 5.25s

Total page size: 648KB

Total number of requests: 69



More than 4 seconds off the load time. Virtually half the page size. Good result for doing very little.

[quote name='The Tool' timestamp='1347182683' post='144619']

More than likely you do not have gzip enabled on the server. The default setting for gzip is “disable”.

[/quote]

[quote name='StellarBytes' timestamp='1347981686' post='145313']

Installed Smart Optimiser on my 3.0.3 Ultimate store today.



Before:



F

Page Speed Grade:

(47%)

74%



D

YSlow Grade:

(64%)

75%

Page load time: 9.40s

Total page size: 1.13MB

Total number of requests: 70



After:



B

Page Speed Grade:

(86%)

74%



C

YSlow Grade:

(79%)

75%

Page load time: 5.25s

Total page size: 648KB

Total number of requests: 69



More than 4 seconds off the load time. Virtually half the page size. Good result for doing very little.

[/quote]

Hi Just had CS-Cart carry out an install for my company Version 3 for our site www[dot]fuss3inkandtoner.co.uk and it is soo slow, very disappointing. CS-cart asked me to raise a ticket and I have, but still waiting for them to look at it. We only have 3 test products on the site :( Any suggestions anyone. Gzip is enabled.

[quote name='Tryinghardtomakemoney' timestamp='1354296169' post='150168']

Any suggestions anyone. Gzip is enabled.

[/quote]

Yes, Gzip is enabled on your server which looks like Shared hosting to me too. Can't think of any hosts with shared hosting resulting in anything but a slow CS-Cart site (nor any other cart for that matter).

[quote name='StellarBytes' timestamp='1354296987' post='150171']Can't think of any hosts with shared hosting resulting in anything but a slow CS-Cart site[/quote]



Not mine.

[quote name='The Tool' timestamp='1354302650' post='150178']

Not mine.

[/quote]

Have you tried a Webfusion Shared server before? Fasthosts? 1&1?

[quote name='StellarBytes' timestamp='1354316860' post='150183']

Have you tried a Webfusion Shared server before? Fasthosts? 1&1?

[/quote]



Nope. Just because the server is shared doesn't mean it's crappy…the people in control of them are.

[quote name='The Tool' timestamp='1354333251' post='150190']

Nope. Just because the server is shared doesn't mean it's crappy…the people in control of them are.

[/quote]

Correct, underpowered and oversold. To make matters worse, they limit the functionality to enhance security, yet they're still the most vulnerable to hackers. Fail.