| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
4.0.x performance improvement | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
yep chopped a second of loading time, top stuff ...thanks
__________________
xcart version 4.1.6 UK - Brighton QVS ELECTRICAL SUPPLIES - http://www.qvsdirect.com We supply a huge range of cables, electrical accessories, heating, ventilation, fire and security products, consumer units & circuit distribution, indoor and outdoor lighting, showers and water heating, tools and fixings, timer switches, sockets, switches, air conditioning, trunking, and much much more. |
|||||||
#12
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
call me stupid...but I can't find this file?
|
|||||||
#14
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
Wow...quite impressive! Makes you wonder how many other code blocks exist that shouldn't exist
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#15
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
Quote:
I would guess 20% of the code can be eliminated. That guess is not based on anything more than a hunch. Not based on scientific info, or knowledge of the codebase... I'm just picking a number out of my a$$. I must say that I have had 3 specific instances of learning about certain code sections in x-cart that are all about supporting legacy OS configs... at the expense of security and speed. And I'm a rookie. Imagine what a pro could find... One thing I'm learning - there are SO MANY varieties of unix/linux and so many variations, how can a developer keep up? And versions of php and mysql - and it's more than that... within newer versions, the end user can modify the active directives and turn it into whatever they want... So X-Cart has to over-code to consider every possible config. In a more perfect world, X-Cart would make a version of their cart that runs a specific minimum config, and that's that... Ralph, thanks for your contributions. Although I'm running 4.1, it's nice to know that you're hanging out.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#16
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
Quote:
I have no problems finding the file, but I can't find the code that need to be deleted. Below is my func_display from include/func.php Code:
__________________
X-Cart 4.0.12 Heavy modified with paid, free and forum mods. PHP 5.2.5 | MYSQL 5.0.51a |
|||||||
#17
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
Quote:
The code has already been removed from your func.php. Someone must have already found it and fixed it on your site.
__________________
Manuka Bay Company X-Cart Version 4.0.19 [Linux] UGG Boots and other fine sheepskin products http://www.snowriver.com |
|||||||
#18
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
Quote:
Thanks for the reply geckoday! I just checked the original func.php from version 4.0.12 and the func_display code is exactly the same as in the func.php I'm using. Pity, some speed improvement is always welcome. Thanks anyway!
__________________
X-Cart 4.0.12 Heavy modified with paid, free and forum mods. PHP 5.2.5 | MYSQL 5.0.51a |
|||||||
#19
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
Do a search in the file, it may be in a different place
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#20
|
|||||||
|
|||||||
Re: 4.0.x performance improvement
Quote:
I already did and only found the func_display code in my first post. Could it be that the func.php in version 4.0.12 is different from other 4.0.x versions?
__________________
X-Cart 4.0.12 Heavy modified with paid, free and forum mods. PHP 5.2.5 | MYSQL 5.0.51a |
|||||||
|
|||
X-Cart forums © 2001-2020
|