Jump to content

[Solved] Ajax slow on Windows server


Recommended Posts

Hi.

 

I have used PS on a Linux server for a while, but I'm moving to a Windows server with Apache now. The site is running fine, the only thing is whe Ajax cart, when I add an item, it takes several seconds to actually float to the cart. On the old server it was almost instantly.

 

Any idears why this is and is there something I can do to improve it? I'm using the exact same shop/files on the new server. Going back to the old server is not an option. Just seems weird that this one thing runs so slow.

Edited by Bibihest (see edit history)
Link to comment
Share on other sites

I use Windows and that doesn't happen to me. I did notice a bug in Windows related to a slow down in page load time.

 

 

prestashop\config\settings.inc.php

 

I had to change

 

_DB_SERVER_', 'localhost');

 

to

 

_DB_SERVER_', '127.0.0.1');

 

Page load went from 3 seconds to 1.

  • Like 1
Link to comment
Share on other sites

Bill, I love you!!! I have been trying out things for days to find out what was wrong.

 

Thanks a bilion, this made a HUGE different on EVERYTHING. I think it's even faster than on the Linux server now and the add button is instant again.

  • Like 1
Link to comment
Share on other sites

I use Windows and that doesn't happen to me. I did notice a bug in Windows related to a slow down in page load time.

 

 

prestashop\config\settings.inc.php

 

I had to change

 

_DB_SERVER_', 'localhost');

 

to

 

_DB_SERVER_', '127.0.0.1');

 

Page load went from 3 seconds to 1.

 

I just tried this....wow....wow...wow

 

post of the year!

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...