Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Speed Up and Optimise CS-Cart Version 3 Rate Topic   * * * * * 9 votes

 
  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 11 January 2013 - 06:00 PM #21

That did not change anything

Are you getting the server error:-
  • After implementing BOTH .htaccess rules and SmartOptimizer?
  • Implementing .htaccess only?
  • Implementing SmartOptimizer only?

Hire StellarBytes for CS-Cart Design & Development Services

 
  • Jayhawk
  • Junior Member
  • Members
  • Join Date: 17-Feb 11
  • 80 posts

Posted 11 January 2013 - 11:02 PM #22


htaccess change only

Are you getting the server error:-

  • After implementing BOTH .htaccess rules and SmartOptimizer?
  • Implementing .htaccess only?
  • Implementing SmartOptimizer only?



 
  • kjpp
  • Newbie
  • Members
  • Join Date: 22-Nov 12
  • 12 posts

Posted 13 January 2013 - 10:04 AM #23

I make this optimalizations (htacces and config) and my site start working faster.
Then I contact with my sever admins and they dosent recomend me to instal smart optimizer, they tell that it is good when You have small traffic on sites butwhen You will be have more users the site will be work much slower.
They tell me to I need to install nginx if I woul like have better site optimalization.
I install nginx and my results on gtmetrix was E, C now I have B, B.
MY new shop: Super-BMW.pl

 
  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 13 January 2013 - 04:01 PM #24

I make this optimalizations (htacces and config) and my site start working faster.
Then I contact with my sever admins and they dosent recomend me to instal smart optimizer, they tell that it is good when You have small traffic on sites butwhen You will be have more users the site will be work much slower.
They tell me to I need to install nginx if I woul like have better site optimalization.
I install nginx and my results on gtmetrix was E, C now I have B, B.

Using SmartOptimizer, some PHP parsing occurs per request. This means the CPU overhead is higher than serving uncompressed JavaScript and CSS, hence the advice that it won't be any good for "high traffic" sites. I cannot find any split testing results between "low", "average" nor "high" traffic sites with and without SmartOptimizer. Unless your server CPU came from the 90's, I don't think you shall have any problems.

I'm going to re-build my server today, first of all to compare the default install of the .htaccess/SmartOptimizer instructions provided in the OP and the default install of nginx with x-cache.

One thing I hope to prove, despite xginx and x-cache needing an extra layer of server access and still only the ability to read and re-write instructions to successfully install, is that there isn't a great deal of difference unless the server is further optimised for nginx/x-cache as per the server hardware specification.
Hire StellarBytes for CS-Cart Design & Development Services

 
  • Magpie Don
  • Senior Member
  • Members
  • Join Date: 01-Apr 09
  • 814 posts

Posted 13 January 2013 - 04:13 PM #25

The biggest hit I take with GTMetrix is because javascript is not gzip compressed.
Does one usually compress javascript?
This is the option I took in the config file:
'js_compression' => true, // enables compession to reduce size of javascript files
And the rest of my files (html, php) are gzip compressed - GTMetrix gives me an 'E' for gzip compression because of the 30 or so js files.

CS-Cart Ultimate ver 4.3.5


 
  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 13 January 2013 - 06:10 PM #26

If js_compression is set to 'true' then you shouldn't be having this problem. Check your sites status below:

Check gzip compression status

I get score of A (99%) for gZip bt GTMetrix. Minify addon JS and it produces a score of 100% quite easily.
Hire StellarBytes for CS-Cart Design & Development Services

 
  • dsc81
  • Advanced Member
  • Members
  • Join Date: 14-Sep 11
  • 100 posts

Posted 14 January 2013 - 08:27 AM #27

Stellar,
If I cannot install the smartoptimizer and I only want to use .htaacess and config.local.php
Can I do this? and is this already enable gzip compression?

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4576 posts

Posted 14 January 2013 - 10:48 AM #28

yes you can do this but for gzip you need to check if it can be enabled

John

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • dsc81
  • Advanced Member
  • Members
  • Join Date: 14-Sep 11
  • 100 posts

Posted 15 January 2013 - 06:05 AM #29

It Works... :grin:
Thanks..

 

Posted 21 January 2013 - 11:47 PM #30

Tried the changes in the Config.local.php file and I lost the top back category bar so I went back to original file any idea what could have caused this?

 

Posted 21 January 2013 - 11:49 PM #31

Tried the changes in the Config.local.php file and I lost the top back category bar so I went back to original file any idea what could have caused this?

 
  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 22 January 2013 - 02:18 AM #32

Presumably you cleared your site cache after making the config.local.php changes? (yourdomain.com/admin.php?cc)
Hire StellarBytes for CS-Cart Design & Development Services

 
  • EOEM
  • Newbie
  • Members
  • Join Date: 17-Jan 13
  • 2 posts

Posted 22 January 2013 - 10:39 AM #33

I think cs-cart need improving the cache system , maybe more faster

 

Posted 24 January 2013 - 01:47 AM #34

Presumably you cleared your site cache after making the config.local.php changes? (yourdomain.com/admin.php?cc)

That worked thanks

 

Posted 24 January 2013 - 10:57 PM #35

Warning : Do not hire tweaky.com they can not help with speed and CS-Cart. Please learn from my mistake.

Great tips.

For people like myself - that are not so used to messing with the .htaccess-file i see that GTmetrix recomends this site:

https://www.tweaky.com/gt

They do much of the stuff you are listing in your post for $39.



 

Posted 24 January 2013 - 11:04 PM #36

I can't praise enough Stellar Bytes Tweaks. I went from a GTmetrix Grade of F & D to B & B. CS-Cart 3 is way to slow without these tweaks.

 
  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 25 January 2013 - 03:24 AM #37

<p>

Warning : Do not hire tweaky.com they can not help with speed and CS-Cart. Please learn from my mistake.

</p>
Sorry to hear of your bad experience, I contacted them shortly after reading that post recommending them and they said they couldn't do anything for me. Why they then took you on, I don't know.

Glad to hear you're enjoying the benefits of these tweaks, hopefully I'll be refining these in the next few days. The default SmartOptimizer install is not ideal and could benefit from some changes. I'll post that up once it's done.


Hire StellarBytes for CS-Cart Design & Development Services

 
  • tigerbabba
  • Member
  • Members
  • Join Date: 26-Apr 08
  • 257 posts

Posted 26 January 2013 - 02:11 PM #38

So here it is , finally created CDN Addon in which you will upload Skins folder and root images folder to your CDN provider and define thier path in our addon all css,js are combine to speed up the page and all will be hosted at your choice of CDN Provider, this addon is for Cs-Cart v3.x or 3.1, I will send you all the demo link.
Currently using CS-Cart 4.x
Fortigate Firewalls

 
  • miracles
  • Senior Member
  • Members
  • Join Date: 19-Sep 07
  • 1533 posts

Posted 26 January 2013 - 05:37 PM #39

So here it is , finally created CDN Addon in which you will upload Skins folder and root images folder to your CDN provider and define thier path in our addon all css,js are combine to speed up the page and all will be hosted at your choice of CDN Provider, this addon is for Cs-Cart v3.x or 3.1, I will send you all the demo link.


Which CDN you are using. Yes i want to see the demo.. is this commercial addon ?
CS-CART 3.0.6 GRENADE

Please vote for CDN Add-on

For SEO Article Submission, Forum Profile Links, Web 2.0 links, contact me through PM.

 
  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 28 January 2013 - 04:36 AM #40

Yes, a CDN is one of very many recommendations for improving site speed, but a sales pitch in the middle of this thread doesn't seem appropriate, does it? You should be creating your own thread for sales pitches.

Anyhow.

Time for a quick update.

I've optimised the .htaccess and SmartOptimizer 1.8 with some further tweaks.

Before installing this revised .htaccess and SmartOptimizer, I ran a GTmetrix scan 5 times to produce average load times of the site.

Page Load Time: 7.13s
Page File Size: 896kb
Total Number of Requests: 61

Page Speed Grade: F (41%)
YSlow Grade: D (66%)

After installing the .htaccess rules and revised SmartOptimizer, flushing the site cache and re-scanning again another 5 times to produce an average page load time:

Page Load Time: 2.79s
Page File Size: 480kb
Total Number of Requests: 50

Page Speed Grade: A (95%)
YSlow Grade: B (85%)

I'll upload the revised versions in the next few hours.
Hire StellarBytes for CS-Cart Design & Development Services