Ttfb Version 4.2.4

Hi



I just upgraded to v4.2.4



Product pages have a very high TTFB (over 5 seconds) while the home page is 0.5 seconds.



Have increased the server values to



[color=#3C3E43]memory_limit 512[/color]

[color=#3C3E43]max_execution_time 3600[/color]

[color=#3C3E43]default_socket_timeout 300[/color]

[color=#3C3E43]mysql.connect_timeout 120[/color]



[color=#3C3E43]join_buffer_size 100000000[/color]

[color=#3C3E43]sort_buffer_size 100000000[/color]

[color=#3C3E43]query_cache_limit 10000000[/color]

[color=#3C3E43]query_cache_size 200000000[/color]



How does one reduce the time to first byte - please note that after the first byte the page loads very fast. I am using gzip, compression, cdn etc for that





Please advice

I would also like some advice here.



I'm using Amazon EC2. I've played around with more CPUs and RAM, I have pagespeed for apache, tweaked processes where I can etc but TTFB is the only thing I can't get down. I'm starting to just put it down to CS Cart.



It seems the CS Cart is working on significant performance enhancements for later versions - I'm holding out for these.

[quote name='sap' timestamp='1423288238' post='204581']

Hi



I just upgraded to v4.2.4



Product pages have a very high TTFB (over 5 seconds) while the home page is 0.5 seconds.



Have increased the server values to



[color=#3C3E43]memory_limit 512[/color]

[color=#3C3E43]max_execution_time 3600[/color]

[color=#3C3E43]default_socket_timeout 300[/color]

[color=#3C3E43]mysql.connect_timeout 120[/color]



[color=#3C3E43]join_buffer_size 100000000[/color]

[color=#3C3E43]sort_buffer_size 100000000[/color]

[color=#3C3E43]query_cache_limit 10000000[/color]

[color=#3C3E43]query_cache_size 200000000[/color]



How does one reduce the time to first byte - please note that after the first byte the page loads very fast. I am using gzip, compression, cdn etc for that





Please advice

[/quote]



Is this your own dedicated server ? or a Hosted one ?



Also which hosting company do you use and hows the support ?

[quote name='SeanH' timestamp='1423452138' post='204638']

It seems the CS Cart is working on significant performance enhancements for later versions - I'm holding out for these.

[/quote]



I will make a more detailed post when I get back home.



I don't think you need pagespeed for 4.2.4 check the config.local.conf for the native caching options.



Sqlite is way better than file.



And using fastcgi is “faster” for php. But you might as well switch to php-fpm in preparation for 4.3

Open your site by adding '?debug' to the URL and then review some of the profile times to see where time is being spent. Note that cdn could be impacting your TTFB depending on location of the client. But more than likely you are using a lot of product features and/or you have other configuration that puts large load on either the DB or the cache. How many product features do you use? How many languages do you support? All of these are factors that impact DB/cache performance.