dorian821 Posted May 7, 2015 Share Posted May 7, 2015 Hi All, I am very unsatisfied with my current server as my prestashop site loads very slowly. I am currently using a VPS but there are 7 shops on it right now and apparently it doesn't like prestashop. All the other sites load well except for this one. I have been looking around the net for information about what exactly a prestashop site needs to run well and I have found some basic information like LAMP requirements, the benefits of VPS over shared etc. but my current server has all of this and still the slow load time. I am running a site with about 5000 products, on PS 1.6, with about 3000 visits per month, and 5gigs of html per month. Customers are primarily in the US but also in Europe and Asia. Any suggestions for VPS that would meet my needs? Can anyone clarify exactly what my needs are? Thanks! Dorian Link to comment Share on other sites More sharing options...
jgamio Posted May 7, 2015 Share Posted May 7, 2015 Hi ok you use a VPS but how much memory, type of disk, use cache ? Link to comment Share on other sites More sharing options...
dorian821 Posted May 8, 2015 Author Share Posted May 8, 2015 The totals for our current VPS package are: Bandwidth 10,000 GB RAM 8 GB HDD 120 GB I don't know about the cache setup Link to comment Share on other sites More sharing options...
jgamio Posted May 8, 2015 Share Posted May 8, 2015 I think maybe you need looking for somebody to configure your VPS 3000 visits per month is nothing for your configuration Do you have another services on your server or you just use for prestashop Have you try to turn on debug profile on your define.inc.php change define('_PS_DEBUG_PROFILING_', false); to define('_PS_DEBUG_PROFILING_', true); then you are able to see all your process and check where is the delay. Some times one module can slow donw the whole store Link to comment Share on other sites More sharing options...
El Patron Posted May 8, 2015 Share Posted May 8, 2015 thumbs up for jgamio suggestion. vps is basically shared (actually the same) but with mod_expires and deflate, sure you get access via ssh, overrated...at the end of the day the hosting should boast they support PrestaShop. Link to comment Share on other sites More sharing options...
isabella_brown Posted May 9, 2015 Share Posted May 9, 2015 Hi, I am also looking for a best hosting service for my online store which is currently in developing process.I am looking for the solution which provide faster services.Can you guys suggest which one is more better between Inmotion or A2 hosting providers? Link to comment Share on other sites More sharing options...
Dh42 Posted May 10, 2015 Share Posted May 10, 2015 I suggest liquid web personally. They have great support, great servers, and can do custom setups. I wrote an article about the whole matter, http://dh42.com/blog/prestashop-hosting-recommend/ That goes a little more in depth. I am pretty sure that is where El Patron hosts as well. 1 Link to comment Share on other sites More sharing options...
jetx Posted May 12, 2015 Share Posted May 12, 2015 I've been with LW for more than 6 years, good company to deal with. 1 Link to comment Share on other sites More sharing options...
El Patron Posted May 12, 2015 Share Posted May 12, 2015 it's a bit like the movie "Looking for Mr. Goodbar"...spoiler alert we die in the end. re. lw...great if you can get pass mod_security...most us servers are 'prestawhat?'. they are tuned for wp and other similar cms's and are a complete disaster (unless you a nerd like dh42) for ps...this is a bit of a shocker for existing old timers using us severs when they upgrade, because then the new security measures kick in and they get blank screen with no messages even in debug mode. holy...what a mess... I'd recommend ps cloud for those starting out, and if they get an import of existing to ps cloud I think that would make a lot of people, me included, happy. because at the end of the day we lose money dorking around with server configs. my 'best' advice, is only use hosting that specifically states it supports ps. happy day, Fred Link to comment Share on other sites More sharing options...
Dh42 Posted May 13, 2015 Share Posted May 13, 2015 @El Patron, Come on, the Mod_sec issues you had were not with PrestaShop, it was with your help desk. Also the mod_sec issues are pretty easily over come WHM has a really easy to use mod_sec manager that will let you white list rules. It is not LW's fault that PrestaShop re-uses code from Drupal that is not considered the best escaping method. 1 Link to comment Share on other sites More sharing options...
El Patron Posted May 13, 2015 Share Posted May 13, 2015 @lesley, yea I use Plesk so not as easy with WHM. And I certainly don't fault the 'heros' at lw for how ps works. the point being, and I'm not some rookie, that lw mod_security does not play well with ps, and for someone that just wants to build their shop/business and not dork around with server at that level,, then find a service specifically for ps. the end. Link to comment Share on other sites More sharing options...
CEWD Posted May 13, 2015 Share Posted May 13, 2015 I've just signed up with Smart Hosting and I must say so far they've been fantastic, they're configuring my VPS specifically for Prestashop (https://www.prestashop.com/en/system-requirements) and then load testing it before handing it over... so much better than my last host. Link to comment Share on other sites More sharing options...
Dh42 Posted May 15, 2015 Share Posted May 15, 2015 @el patron Liquidweb uses a standard mod_sec package, nothing fancy. The reason other hosts play nice with PrestaShop is they don't have mod_sec enabled exposing your shops to attack. I personally find it easier to white list a couple of rules than to rebuild a shop that has been hacked. 1 Link to comment Share on other sites More sharing options...
dorian821 Posted May 28, 2015 Author Share Posted May 28, 2015 @jgamio I apologize for the obvious question, but where does the debug profile display the results? Link to comment Share on other sites More sharing options...
dorian821 Posted June 4, 2015 Author Share Posted June 4, 2015 (edited) @jgamio & @mdekker Thanks! I ran the debug today and found that these are the heavy processes: Hook Processing: displayTop 15.22 Mb in 3041 ms displayHeader 15.97 Mb in 316 ms displayHome 4.67 Mb in 210 ms Load Time: initContent 3610 ms initFooter 66 ms display 1193 ms Memory Peak Usage: Execution Memory (Mb)Total (Mb) config14.92 15.0 constructor0.00 15.0 init1.13 16.1 checkAccess0.00 16.1 setMedia0.33 16.4 postProcess0.00 16.4 initHeader0.01 16.4 initContent36.69 53.4 initFooter0.87 54.2 display0.96 56.4 So its clear that initContent is a big contributor, but that Header, Home and Top, especially Top is what is slowing things down. What can I do about that? Is it a problem of size? The Top is 15Mb and loads in 3sec while the Header is 15Mb and loads in .3sec, why is there such a difference? We have a big scrolling banner under the header, is this causing the problem? How do we optimize it without eliminating the banner? Thanks a ton in advance! Dorian Edited June 4, 2015 by dorian821 (see edit history) Link to comment Share on other sites More sharing options...
dorian821 Posted June 4, 2015 Author Share Posted June 4, 2015 Also, I've noticed that on other pages without the banner the Top still loads in about the same time 2.7sec. Any ideas? Thanks, Dorian Link to comment Share on other sites More sharing options...
Recommended Posts