soares Posted October 27, 2015 Share Posted October 27, 2015 I just moved my prestashop to a live host from a localhost, but when I moved it it became slow. Can someone help me solving this problem? I'm really newbie, I don´t have any knowledge in this area. thanks Link to comment Share on other sites More sharing options...
Simple Kiwi Posted October 27, 2015 Share Posted October 27, 2015 Hey...I too find Prestashop to be very slow. Google has given my sites very low scores because of it. Since you're new it's worth mentioning that there is a cache page that needs to be configured once you are done designing your site. It's located under ADVANCED PARAMETERS / PERFORMANCE. Google how to setup this page and it should speed your site up a bit. The only other thing I noticed is if I host on a Windows server I find it to be slower compared to a Linux server. Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 27, 2015 Share Posted October 27, 2015 The only other thing I noticed is if I host on a Windows server I find it to be slower compared to a Linux server. Because of a bug in all versions of Windows you need to change config\settings.inc.php Change define('_DB_SERVER_', 'localhost'); to define('_DB_SERVER_', '127.0.0.1'); Also for best results with all web sites use a page cache. For PS I recommend http://addons.prestashop.com/en/seo-prestashop-modules/6413-cache-manager.html Also for dedicated Windows server I recommend https://www.iispeed.com/ Link to comment Share on other sites More sharing options...
Simple Kiwi Posted October 28, 2015 Share Posted October 28, 2015 (edited) Because of a bug in all versions of Windows you need to change config\settings.inc.php Change define('_DB_SERVER_', 'localhost'); to define('_DB_SERVER_', '127.0.0.1'); Thanks for the tip. I'll give it a try and report back. Edited October 28, 2015 by planbjz (see edit history) 1 Link to comment Share on other sites More sharing options...
soares Posted October 28, 2015 Author Share Posted October 28, 2015 I've already optimize my performance parameters, but still it's too slow. My website takes 10seconds in minimum to load. And I still have only a few products I will try to change my hosting from windows to linux with my company. I tried to change the DB SERVER but when I change it to 127.0.0.1 my site doesn't work anymore Link to comment Share on other sites More sharing options...
Bill Dalton Posted October 28, 2015 Share Posted October 28, 2015 I tried to change the DB SERVER but when I change it to 127.0.0.1 my site doesn't work anymore If that happened it means your mySQL server is not on the same server. You should use the IP that points to your database. If you are getting 10 second delays with a stock install, then you must be having a problem with your mySQL server. Link to comment Share on other sites More sharing options...
mrtommy Posted October 28, 2015 Share Posted October 28, 2015 HiI had similar problem once and I solved it by first check what is happening with load times. My site took between 10 sec to 45 sec to load after going from "internal" to live shop, before that it was still slow with load times of 4 sec but I didnt fully realized that then... first enable boleean in PS_DEBUG_PROFILING in config/definde.inc.php to "true" then go to site and reload page and see what is happening, what is taken so long? I'll bet you have a host issue with too less memory dedicated We had 96MB and that wasnt enough for 40K customers and 14K products in database and typhicall 5-20 visitors at the same time in shop When upgrading to 512MB the site went really fast and the problem was gone 1 Link to comment Share on other sites More sharing options...
soares Posted October 28, 2015 Author Share Posted October 28, 2015 If that happened it means your mySQL server is not on the same server. You should use the IP that points to your database. If you are getting 10 second delays with a stock install, then you must be having a problem with your mySQL server. I'm using the server name, the ip server I cannot find it HiI had similar problem once and I solved it by first check what is happening with load times. My site took between 10 sec to 45 sec to load after going from "internal" to live shop, before that it was still slow with load times of 4 sec but I didnt fully realized that then... first enable boleean in PS_DEBUG_PROFILING in config/definde.inc.php to "true" then go to site and reload page and see what is happening, what is taken so long? I'll bet you have a host issue with too less memory dedicated We had 96MB and that wasnt enough for 40K customers and 14K products in database and typhicall 5-20 visitors at the same time in shop When upgrading to 512MB the site went really fast and the problem was gone I've already did it but then I do not know what to do with the information. I guess my memory is ok. My database for know is quite small, it should not be the problem, at least with the memory. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now