AbanteCart Community

Shopping Cart Operations => Tips and Tricks => Topic started by: shenyi on August 12, 2015, 09:18:49 AM

Title: When AbanteCart V1.23 offline, Very slow running.
Post by: shenyi on August 12, 2015, 09:18:49 AM
When ABANTECART offline or local area network , Very slow running. Admin area is also slow.


(Page execution time>10 Seconds)
 :o



****My Testing Environment****
+ AbanteCart v1.2.3
+ Apache 2.4.4
+ MySQL  5.5.3
+ PHP      5.6.8
+ Broswer IE11,  Firefox39
OS: windows 7
----------------------------------
CPU       i7 3770T 2.5Ghz
Memory   16G
SSD:     250GB
*************************



Title: Re: When AbanteCart V1.23 offline, Very slow running.
Post by: shenyi on August 12, 2015, 09:28:05 AM
(Page execution time>10 Seconds)
Title: Re: When AbanteCart V1.23 offline, Very slow running.
Post by: Basara on August 12, 2015, 09:40:56 AM
When ABANTECART offline, Very slow running. Admin area is also slow.


Offline? Do you mean localhost server?
Please note localhost server is emulator and works very differ from real server.
Also some OS software (antivirus/firewall/etc) may filter all virtual server requests and slow it  ;)
Title: Re: When AbanteCart V1.23 offline, Very slow running.
Post by: shenyi on August 12, 2015, 02:12:21 PM
I understand, "localhost server is emulator and works very differ from real server."

However,
I just want to translate the AbanteCart v1.2.3 language files on my localhost server(127.0.0.1).


Other PHP source code(Sugercrm,Dolphin。。。) can run on my localhost server(127.0.0.1).


so,

Maybe
"jquery.min.js" link BUG...



Thanks for your attention Basara.
Title: Re: When AbanteCart V1.23 offline, Very slow running.
Post by: Basara on August 13, 2015, 01:05:48 AM
Just for your info
few localhost solutions
http://docs.abantecart.com/pages/install/options/localhost_installation.html
Title: Re: When AbanteCart V1.23 offline, Very slow running.
Post by: abantecart on August 13, 2015, 07:48:03 AM
shenyi, what browser do you use?

I have very similar set up. I noticed that FireFox sometimes lags. After cleaning it, all speeds up again.

Are you connected to internet when you run AbanteCart?
Title: Re: When AbanteCart V1.23 offline, Very slow running.
Post by: shenyi on August 13, 2015, 12:03:12 PM
Thank you for advice and guidance.


I solved the problem.


=========================================================
1.
[store page loads is very slowly]  issue:
Find
\shop\storefront\view\default\template\embed\js.tpl  line 21


script_loader("http:/ /ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js");
Chang to Microsoft CDN   
<script src="http:/ /ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.4.min.js"></script>
   
Page execution time:  10 Seconds ==Speed up===>0.5 Seconds
OK!

Notes:
[Server 127.0.0.1] , onlin(connected to internet)
----------------------------------------------------

2.
[Administration panel page loads is very slow]issue:
STEP1:
Find 
\shop\core\helper\utils.php   line 754
$url = 'https:/ /www.gravatar.com/avatar/';

Chang to   
$url = './avatar/';

STEP2: Create a folder & file
       ---shop
             ...
             /admin/
             /avatar/default.jpg


Page execution time:  20 Seconds ==Speed up===>1 Seconds
OK!
Title: Re: When AbanteCart V1.23 offline, Very slow running.
Post by: Basara on August 14, 2015, 02:18:54 AM
Thank you for advice and guidance.


I solved the problem.

Thank you, shenyi for sharing   ;D