How to make ProductCart Faster? |
Post Reply |
Author | |
mikey234d
Newbie Joined: 29-June-2009 Status: Offline Points: 0 |
Post Options
Thanks(0)
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 www.ShopAtDean.com Thanks, Mike |
|
netprofits
Certified ProductCart Developers Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
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).
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!
|
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
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 |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
This will probably be useful :-
|
|
intour
Senior Member Joined: 30-June-2006 Location: United Kingdom Status: Offline Points: 0 |
Post Options
Thanks(0)
|
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
|
|
mikey234d
Newbie Joined: 29-June-2009 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
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 |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
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. |
|
mikey234d
Newbie Joined: 29-June-2009 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
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 |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Hi Mike,
Have you re-generated your navigation? You can do so via the admin pages : Settings > Generate Navigation. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |