Print Page | Close Window

How to make ProductCart Faster?

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=2841
Printed Date: 14-May-2024 at 7:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to make ProductCart Faster?
Posted By: mikey234d
Subject: How to make ProductCart Faster?
Date Posted: 03-July-2009 at 8:49am
I have recently went live with my website, and have noticed that on everytime the page loads it seems to be taking a while.  The header has to almost reload it self everytime without having any memory of loading the same photos.  Thinking that it was the size of the photos, i saved them as .gifs instead of .jpgs but I am still having a problem.  If I am experiencing this slow page load with a fast connection, I am afraid how long it would take for some one to load my page that doesnt have fast speed internet.  

Is there something Im missing?  Is there something I should be focusing on?  Something in the code that I should change?  I was thinking it has something to do with the amount of products I have (2700), but I plan on getting more than 20,000 up there.  How do I make this thing zoom?  Do I need to do something with caching?  And I think of myself as a newbie, so if you reply please be descriptive.  My website it http://www.ShopAtDean.com - www.ShopAtDean.com

Thanks,
Mike



Replies:
Posted By: netprofits
Date Posted: 03-July-2009 at 9:14am
Hi Mike,
 
We viewed your site and it comes up pretty quickly for us although I do see some pauses. The issue is not so much JPGs vs. GIFs but the actual size of the files and the quality of display. Whichever type gives you the qulaity you want and keeps the filesize of the images smaller is the best. In general, GIFs are used for "clipart" type images. JPGs are used for photos.
 
Another cause of slowness can be the web hosting and type of database. I assume if you're planning to have that many products, you are using a SQL database. If you are using Access, that will be a MAJOR problem and you should switch to SQL. With large numbers of products, you can also have a database administrator add specific optimizations to increase speed.  We have worked with Mark at Cognecy for Product Cart database issues and I would recommend contacting him for help with that ( http://cognecy.com/contact.html - http://cognecy.com/contact.html ).
 
For the web hosting, if you are using a shared hosting service and their servers are busy with 1000s of other sites, your site performance is effected as well. It looks like you are using Jolt Digital for hosting. They are usually pretty good. If you continue to experience slowness issues, you may want to ask them for help.
 
How are you loading your Browse by Brand drop down box? If that is dynamic, i.e. pulled from the database on the fly as each page is loaded, I would recommend changing that to either be a static drop down, i.e. hardcoded in the header, or generate it as needed from the control panel like the Generate Navigation function. That would make that part of the page load quicker.
 
Hope that helps!


-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: Hamish
Date Posted: 03-July-2009 at 10:46am
Hi,
  Are you using the dynamic or static menus? The static / generated menu (which is way more commonly used) is more efficient as it doesn't interrogate the database each time.
You banner image is 87.59 kB - Optimise it more & switch to a JPEG.
Your images below the banner, such as syracusecollection vary between 68kb & 112kb , again some optimisation would help, but the images should all be only downloaded once by the browser & then served from the local copy anyway, so most likely optimization will only help on the "first impression" of the 1st page download.

You would probably be very surprised to know your menu (on the left) is 78kb out of a total HTML size of 114kb - nearly 70% of the HTML component of the page. 
Consider restricting the number (depth) of sub-categories displayed. As an experiment temporarily remove the menu & see what difference it makes to the page load times.

You also have 12 css files, one of which is pcHeaderFooter, which is being loaded twice.
The second copy probably by embedded.css which contains an incude for it.

The store URL switches to an IP address, which indicates the store url is probably not set correctly in the includes/storeconstants file.

IE renders the page very late compared with FireFox, so pages always seem slower on IE - Google is your friend :-) Investigate It's worth investigating the process IE follows to render pages and "optimising" your desigh to match - it won't slow Fire|Fox down but should speed up the render times in IE.

Your total "page weight" based on saving the entire home page via IE "Save As" is 1.35mb as compared with an EI demo store which I measured as 0.35mb - so it looks like there is quite a lot of room for optimization  :-)

HTH
   Hamish





-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: Hamish
Date Posted: 03-July-2009 at 11:01am
This will probably be useful :-
Documents (1 file)112 KB

http://66.96.90.120/store/pc/viewCategories.asp?idCategory=97 - http://66.96.90.120/store/pc/viewCategories.asp?idCategory=97 112 KB

Images (35 files)396 KB

http://66.96.90.120/store/pc/catalog/header13.gif - http://66.96.90.120/store/pc/catalog/header13.gif 88 KB

http://66.96.90.120/store/pc/images/lower-right-combo.png - http://66.96.90.120/store/pc/images/lower-right-combo.png 32 KB

http://66.96.90.120/store/pc/images/lower-left-combo.png - http://66.96.90.120/store/pc/images/lower-left-combo.png 31 KB

http://66.96.90.120/store/pc/images/up-left-combo.png - http://66.96.90.120/store/pc/images/up-left-combo.png 31 KB

http://66.96.90.120/store/pc/images/up-right-combo.png - http://66.96.90.120/store/pc/images/up-right-combo.png 31 KB

http://66.96.90.120/store/pc/catalog/baking.gif - http://66.96.90.120/store/pc/catalog/baking.gif 19 KB

http://66.96.90.120/store/pc/catalog/feda2.jpg - http://66.96.90.120/store/pc/catalog/feda2.jpg 19 KB

http://66.96.90.120/store/pc/catalog/sefa2.jpg - http://66.96.90.120/store/pc/catalog/sefa2.jpg 18 KB

http://66.96.90.120/store/pc/catalog/Rubbermaid/RM1963_sm.jpg - http://66.96.90.120/store/pc/catalog/Rubbermaid/RM1963_sm.jpg 12 KB

http://66.96.90.120/store/pc/catalog/Dean_Supply_Logo.gif - http://66.96.90.120/store/pc/catalog/Dean_Supply_Logo.gif 11 KB

http://66.96.90.120/store/pc/catalog/twitter2.gif - http://66.96.90.120/store/pc/catalog/twitter2.gif 11 KB

http://66.96.90.120/store/pc/catalog/CALMIL/CALM960_sm.jpg - http://66.96.90.120/store/pc/catalog/CALMIL/CALM960_sm.jpg 10 KB

http://66.96.90.120/store/pc/catalog/vollrath/VO47118_sm.jpg - http://66.96.90.120/store/pc/catalog/vollrath/VO47118_sm.jpg 9 KB

http://66.96.90.120/store/pc/catalog/pittarrival.gif - http://66.96.90.120/store/pc/catalog/pittarrival.gif 8 KB

http://66.96.90.120/store/pc/catalog/update/serving/UPPC1HDC_sm.jpg - http://66.96.90.120/store/pc/catalog/update/serving/UPPC1HDC_sm.jpg 8 KB

http://66.96.90.120/store/pc/catalog/Adcraft/ADMCPG12_sm.jpg - http://66.96.90.120/store/pc/catalog/Adcraft/ADMCPG12_sm.jpg 7 KB

http://66.96.90.120/store/pc/catalog/Ateco/ATE4903_sm.jpg - http://66.96.90.120/store/pc/catalog/Ateco/ATE4903_sm.jpg 6 KB

http://66.96.90.120/store/pc/catalog/deanslist4.gif - http://66.96.90.120/store/pc/catalog/deanslist4.gif 6 KB

http://66.96.90.120/store/pc/catalog/dr/RUS19783_sm.jpg - http://66.96.90.120/store/pc/catalog/dr/RUS19783_sm.jpg 6 KB

http://66.96.90.120/store/pc/catalog/CC40376_sm.jpg - http://66.96.90.120/store/pc/catalog/CC40376_sm.jpg 5 KB

http://66.96.90.120/store/pc/catalog/ateco/ATE3112_sm.jpg - http://66.96.90.120/store/pc/catalog/ateco/ATE3112_sm.jpg 5 KB

http://66.96.90.120/store/pc/catalog/Focus/FOC8455_sm.jpg - http://66.96.90.120/store/pc/catalog/Focus/FOC8455_sm.jpg 4 KB

https://www.paypal.com/en_US/i/bnr/vertical_solution_PPeCheck.gif - https://www.paypal.com/en_US/i/bnr/vertical_solution_PPeCheck.gif 4 KB

http://66.96.90.120/store/pc/catalog/Update/Kitchen/UPRPA3518_sm.jpg - http://66.96.90.120/store/pc/catalog/Update/Kitchen/UPRPA3518_sm.jpg 4 KB

http://66.96.90.120/store/pc/catalog/twitter_facebook.gif - http://66.96.90.120/store/pc/catalog/twitter_facebook.gif 3 KB

http://66.96.90.120/store/pc/images/highslide/outlines/rounded-white.png - http://66.96.90.120/store/pc/images/highslide/outlines/rounded-white.png 2 KB

http://66.96.90.120/store/pc/images/bottomcap.png - http://66.96.90.120/store/pc/images/bottomcap.png 1 KB

http://66.96.90.120/store/pc/css/dropdown/images/dropdown_pane.png - http://66.96.90.120/store/pc/css/dropdown/images/dropdown_pane.png 1 KB

http://66.96.90.120/store/pc/images/topcap.png - http://66.96.90.120/store/pc/images/topcap.png 1 KB

http://66.96.90.120/store/pc/images/highslide/loader.white.gif - http://66.96.90.120/store/pc/images/highslide/loader.white.gif 673 bytes

http://66.96.90.120/store/pc/images/contentmiddle.png - http://66.96.90.120/store/pc/images/contentmiddle.png 433 bytes

http://66.96.90.120/store/pc/images/titlemiddle.png - http://66.96.90.120/store/pc/images/titlemiddle.png 416 bytes

http://66.96.90.120/store/pc/images/btn_expand.gif - http://66.96.90.120/store/pc/images/btn_expand.gif 179 bytes

http://66.96.90.120/store/pc/images/btn_collapse.gif - http://66.96.90.120/store/pc/images/btn_collapse.gif 176 bytes

http://66.96.90.120/store/pc/catalog/strip2.png - http://66.96.90.120/store/pc/catalog/strip2.png 85 bytes

Objects (1 file)6 KB

http://twitter.com/flash/twitter_badge.swf - http://twitter.com/flash/twitter_badge.swf 6 KB

Scripts (9 files)170 KB (361 KB uncompressed)

http://66.96.90.120/store/includes/javascripts/highslide.html.packed.js - http://66.96.90.120/store/includes/javascripts/highslide.html.packed.js 66 KB

http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js - http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js 41 KB (179 KB uncompressed)

http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js - http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js 19 KB (56 KB uncompressed)

http://66.96.90.120/store/pc/ei-tooltip.js - http://66.96.90.120/store/pc/ei-tooltip.js 15 KB

http://66.96.90.120/store/includes/spry/SpryDOMUtils.js - http://66.96.90.120/store/includes/spry/SpryDOMUtils.js 11 KB

http://66.96.90.120/store/includes/spry/SpryCollapsiblePanel.js - http://66.96.90.120/store/includes/spry/SpryCollapsiblePanel.js 7 KB

http://www.google-analytics.com/urchin.js - http://www.google-analytics.com/urchin.js 7 KB (22 KB uncompressed)

http://66.96.90.120/store/pc/XHConn.js - http://66.96.90.120/store/pc/XHConn.js 2 KB

https://checkout.google.com/files/digital/urchin_post.js - https://checkout.google.com/files/digital/urchin_post.js 2 KB

Style Sheets (10 files)41 KB

http://66.96.90.120/store/pc/pcStorefront.css - http://66.96.90.120/store/pc/pcStorefront.css 18 KB

http://66.96.90.120/store/pc/pcHeaderFooter08.css - http://66.96.90.120/store/pc/pcHeaderFooter08.css 6 KB

http://66.96.90.120/store/pc/screen.css - http://66.96.90.120/store/pc/screen.css 4 KB

http://66.96.90.120/store/includes/spry/spryCollapsiblePanel-CSF.css - http://66.96.90.120/store/includes/spry/spryCollapsiblePanel-CSF.css 4 KB

http://66.96.90.120/store/pc/css/dropdown/default.css - http://66.96.90.120/store/pc/css/dropdown/default.css 3 KB

http://66.96.90.120/store/pc/pcSearchFields.css - http://66.96.90.120/store/pc/pcSearchFields.css 2 KB

http://66.96.90.120/store/pc/style.css - http://66.96.90.120/store/pc/style.css 2 KB

http://66.96.90.120/store/pc/css/dropdown/dropdown.css - http://66.96.90.120/store/pc/css/dropdown/dropdown.css 1 KB

http://66.96.90.120/store/pc/css/dropdown/default.advanced.css - http://66.96.90.120/store/pc/css/dropdown/default.advanced.css 1 KB

http://66.96.90.120/store/pc/ei-tooltip.css - http://66.96.90.120/store/pc/ei-tooltip.css 898 bytes

Total726 KB (916 KB uncompressed)
- Which is from the "Web Developer" add-on for Firefox & is almost certainly a more accurate representation of the actual file sizes than IE gives :-)



-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: intour
Date Posted: 03-July-2009 at 2:03pm
I just took a look at your site and it took way too long to load.
 
From the information Hamish provided the site content is too 'heavy' but I don't think that was the only reason it took so long.
 
It would appear to be more of a server related issue. It's certainly worth doing as Netprofits suggested and checking your database type. A store that size needs SQL.
 
Nigel
 
 


-------------
http://www.innerview.co.uk - Innerview
Productcart Platinum Reseller
Web Design/Hosting/Virtual Tours


Posted By: mikey234d
Date Posted: 03-July-2009 at 2:39pm
Thanks everyone for taking a look.  I have started to optimize many of photos including the header and am noticing a difference.  Mark from Cogency recommended a photo optimization program which I plan on taking a look at.  I have also regenerated the navigation from ip addresses to all of them being shopatdean.  I have also deleted the extra headerfooter.css file.  I am noticing a big difference, but it seems I still have a long way to go.  And I am using a SQL database. 

Thanks for the quick responses.  If anyone else sees anything I should change, please let me know!

Thanks again Hamish, Mark, Netprofits and Nigel,
Mike


Posted By: Hamish
Date Posted: 03-July-2009 at 3:38pm
Hi Mike,
    It's definitely loading faster. The left hand navigation is still by IP address & I think you can afford to optimise the header image a bit less - The "Shop at Dean" text is now a bit fuzzy.


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: mikey234d
Date Posted: 03-July-2009 at 3:44pm
How do I change the left hand navigation to the shopatdean.com/ or relative links?  I went into the  includes/storeconstants and it says:

 private const scStoreURL="http://www.shopatdean.com"%>

Why would it still be doing that?

Thanks,
Mike


Posted By: Hamish
Date Posted: 03-July-2009 at 4:40pm
Hi Mike,
  Have you re-generated your navigation? You can do so via the admin pages : Settings > Generate Navigation.


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net