I'm having a problem with an online store. The TTFB is really big, on index page about 6 secs, in product catalog more than 10 secs. The website has many extensions/modules.
As far as my testing goes I figured out that on pages that load one or more products the TTFB increases drasticaly. But on the login page, where there are no products the TTFB is still big, around 4 secs.
I've tried putting the site on localhost on a Synology server... the TTFB decreased a bit about 30% on all pages, but still too big.
I tested a blank page with only the .js and .css files, no html in it and I still got 1-2 secs TTFB on localhost.
Disabling some of the extensions (ie. AW_Autorelated module) reduced TTFB with 2-3 secs.
I don't know what to try next. Any ideas?
Try to assign a default theme to your store and test the speed. A crappy coded theme can really screw up the store speed. If that will not help, disable all the extensions and test the speed - if the store will still be slow with the default theme and no extensions - your hosting sucks. After this, you will have a good idea if your performance issue is from the hosting configuration, theme or one of the extensions. Start enabling extensions one by one to see which one affects the speed the most. You can do this on a development copy of your store to avoid any downtime in production.
Hope this helps.
Finestshops is dead on in terms of determining the problem.
Based on you mentioning localhost, are you hosting it locally? Or was that just for testing? Generally residential (and even most business) DNS is quite terrible and could easily cause a massive TTFB.
With that aside, you mentioned disabling some extensions and seeing some improvement. With that in mind I would highly suggest you setup a good cache such as Varnish or LiteSpeed's LiteMage Cache. Having a decent cache system in place will drastically lower the TTFB in most cases.
Thanks for all the answers.
Yes, I am testing it locally, the website is live.
I will try what you guys suggested and get back with the results.
Have a nice day!
I think you should try to disable all extensions first to check if they are the reason.
Otherwise, you can try using the following tools to check and reduce your website's TTFB
Google Speed test tool: https://developers.google.com/speed/pagespeed
Post the result and I think we may give advice
Did you manage to solve your TTFB issue. Using a third party acceleration solution helps with TTFBs
Step 1. First determine if it is the hosting that is the problem.
Install a fresh copy of Magento, the same version, on the server. Compare its speed with your site. If it is fast then hosting is OK and you should move to the step 2.
Step 2. TTFB ( time to first byte ) audit.
Enable Magento profiler. Use magento default one or your AOE profiler. Study profiler trace. It will give you insights on what is wrong with your code. That is bullet proof approach to slow magento site problem.
The main problem could be due the features of your hardware. Over slow networks, the latency increases TTFB.
If you have your own hosting: Please check at your gateway address, for example at 192.168.0.1 or at gateway IP address. After login, you can make a speedtest of your DSL connection.
In the case of third party hosting, ask for better broadband service, SSD instead HDD also helps to reduce TTFB.