AbanteCart Community
Shopping Cart Operations => Tips and Tricks => Topic started 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
*************************
-
(Page execution time>10 Seconds)
-
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 ;)
-
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.
-
Just for your info
few localhost solutions
http://docs.abantecart.com/pages/install/options/localhost_installation.html
-
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?
-
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!
-
Thank you for advice and guidance.
I solved the problem.
Thank you, shenyi for sharing ;D