Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Speeding up code execution by deleting unused features...


Propaganda

Recommended Posts

Posted

The site I am working on is going to only sell from one manufacturer, themselves. So, if I go around and delete all the code relating to manufacturer information would this help the speed of the site's code execution? Or would the difference not be noticeable enough to be worth the time to do so?

 

thx

Posted

If you disable the manufacture feature in admin, then the pages won't query the database for a manufacture. It makes no sense to remove manufacture code from the individual pages themselves.

 

 

Chris

Posted

The site I am working on is going to only sell from one manufacturer, themselves. So, if I go around and delete all the code relating to manufacturer information would this help the speed of the site's code execution? Or would the difference not be noticeable enough to be worth the time to do so?

 

thx

 

Removing unnecessary code, side boxes etc will always help speed. There is very little "slow down" code related to manufacturers in osCommerce but removal of unwanted side boxes is always good.

 

Where you would gain noticeable improvement is in complex SQL queries using joins to the manufacturers table that you could perhaps remove. You would have to be certain that the code dealing with the query result was able to function following it's removal of course.

Posted

oh, I see. Yeah I forgot that biggest speed killer is calls to the database. I don't think I will mess with it really it seems the possibility for future problems is too much to risk. I will concentrate on keeping smaller images and such. ty

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...