Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Slow loading website - Slow server, incorrect code, or large images?


mendenmatt

Recommended Posts

Posted

Hello Everyone

 

osCommerce Website - www.mendenhallsmerchantmart.com/catalog

 

Each and every page in my osCommerce website takes on average 23 seconds to load. I have researched the forum topics and narrowed this issue down to 3 possible problems:

 

1. Slow server - My server is currently being upgraded to Dual Core Xeon Processors with Raid5 technology. I spoke with the technical support and they said that once this upgrade is complete, then the load issue should be resolved.

 

2. Incorrect code - Below is my code for configure.php. After looking at the code comments as well as past forum topics I'm wondering if I should put my server URL into the define('HTTP_SERVER', '') and the define('HTTPS_SERVER', '') spaces. My server URL is (win2k10.mygisol.com). Should I paste this URL inside the designated quotation marks? Here is the current code below.

 

--------------------------------------------------

Configuration Code (configure.php)

--------------------------------------------------

define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', '/catalog/images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

--------------------------------------------------

END Configuration Code (configure.php)

--------------------------------------------------

 

3. Large image sizes - My images range in size from 20,000 Kilobytes to 80,000 kilobytes. Technical support also told me that my website may be loading slowly because my images may be too large. I'm not a computer guru, but after visiting other websites with similar sized images, I imagine that my server is to blame and not the images.

 

Perhaps it is a combination of all 3 problems? I hope this is enough information.

 

Thanks in advance,

 

mendenmatt

Posted

Hello again,

 

Please feel welcome to make comments on website color scheme.

osCommerce website - www.mendenhallsmerchantmart.com/catalog

 

Regards,

 

mendenmatt

Archived

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

×
×
  • Create New...