Jump to content

Website too slow


Recommended Posts

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

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

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

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

Hi
I 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

 

  • Like 1
Link to comment
Share on other sites

post-1113135-0-14165500-1446038289_thumb.png

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

 

 

 

Hi
I 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. 

 

post-1113135-0-14165500-1446038289_thumb.png

 

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...