We are preparing to deploy a nopCommerce site (http://www.trishoponline.com) and I've followed many of the optimization guides meticulously, deleting unused Languages and Countries and deactivating plugins to improve site performance. We've got a few images left to optimize, but otherwise I'm pretty comfortable with its performance, except in one area.
Using webpagetest.org, my "Time to First Byte" is atrocious, at 1+ seconds at its best and sometimes more than 2 seconds. I'm using a cloud server with 2 GB of memory (and plenty is still available) and a dedicated SQL Server, both on Everleap. I'm considering a CDN in the future but ultimately, performance once the site responds and starts downloading the page and images, things are satisfactory.
Anyone else experienced similar issues and corrected them? Any guidance on dealing with performance issues like this? This just seems like low hanging fruit if I can get the TTFB down under a half-second.
TTFB is a challenging issue - at a big half billion dollar company I managed web development for we had a hard time getting our TTFB down below 2 seconds on an MVC 5 application.
I do feel that one significant performance improvement would be to get away from EF for data access - utilize stored procs and optimized queries more and get rid of the overhead of EF. Problem with this route is once you replace the data layer you are stuck in a challenging spot for upgrade path.
Remove all widget call you find in it (sure, if you dont use it).
See, if you have 30 products on a category page, for each product box nop will check at least 4 times for a widget.. even in cache, there are 30 x 4 x XXms, and it is a waste of time, literally.
Another thing to check.. avoid using too many plugins, nop cant handle to much plugins very well and the result is bad TTFB too.
Remove all widget call you find in it (sure, if you dont use it).
See, if you have 30 products on a category page, for each product box nop will check at least 4 times for a widget.. even in cache, there are 30 x 4 x XXms, and it is a waste of time, literally.
Another thing to check.. avoid using too many plugins, nop cant handle to much plugins very well and the result is bad TTFB too.
I use Third party plugins , so I comment unused @html.widget the result was acceptable, TTFB reduced from 1.2 to 0.8 which is good in my case.
Remove all widget call you find in it (sure, if you dont use it).
See, if you have 30 products on a category page, for each product box nop will check at least 4 times for a widget.. even in cache, there are 30 x 4 x XXms, and it is a waste of time, literally.
Another thing to check.. avoid using too many plugins, nop cant handle to much plugins very well and the result is bad TTFB too.
I use Third party plugins , so I comment unused @html.widget the result was acceptable, TTFB reduced from 1.2 to 0.8 which is good in my case.
thanks you
Hi! maybe you make something more? From some reason we still have TTFB from 0,6 - 2,2 s... we want make it more stable. And if this possible faster? Maybe someobdy have more ideas? We use Nop 4.1