Re: 4.0.x performance improvement
yep chopped a second of loading time, top stuff ...thanks
|
Re: 4.0.x performance improvement
call me stupid...but I can't find this file?
|
Re: 4.0.x performance improvement
Quote:
xcart_root/include/func.php |
Re: 4.0.x performance improvement
Wow...quite impressive! Makes you wonder how many other code blocks exist that shouldn't exist :)
|
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. |
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:
# |
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. |
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! |
Re: 4.0.x performance improvement
Do a search in the file, it may be in a different place
|
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? |
All times are GMT -8. The time now is 02:38 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.