Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I need to speed up my site!


ACE99

Recommended Posts

Our store is currently live, and I feel it should be a lot faster than it is. Could someone please help me speed it up? Any suggestions or effective contributions that might help?

 

My Webpage

 

Thanks everyone.

 

P.S. - by the way, I do know that the pics on the product info pages are large, and I will make them smaller. however, the category pages are slow and they have their own pictures that have been optimized.

Link to comment
Share on other sites

really? Even jumping between category pages and product info pages? It never slows down? I have DSL, but maybe there is a problem with my ISP. Any other suggestions?

Link to comment
Share on other sites

Web Page Speed Report

 

URL: http://www.domyownpestcontrol.com/catalog/

Title: Do-it-youself pest control:

Date: Report run on Thu May 13 15:41:44 EDT 2004

 

Diagnosis

Global Statistics

Total HTTP Requests: 21

Total Size: 84079 bytes

 

Object Size Totals

Object type Size (bytes)

HTML: 25428

Images: 52365

java script: 1089

CSS: 6286

Multimedia: 0

Other: 0

 

External Objects

External Object QTY

Total Images: 19

Total CSS imports: 1

 

Download Times*

Connection Rate Download Time

14.4K 69.37 seconds

28.8K 36.78 seconds

33.6K 32.13 seconds

56K 20.96 seconds

ISDN 128K 9.33 seconds

T1 1.44Mbps 4.65 seconds

 

*Note that these download times are based on the full connection rate for ISDN and T1 connections. Modem connections (56Kbps or less) are corrected by a packet loss factor of 0.7. All download times include delays due to round-trip latency with an average of 0.2 seconds per object. With 21 total objects for this page, that computes to a total lag time due to latency of 4.2 seconds. Note also that this download time calculation does not take into account delays due to XHTML parsing and rendering.

 

Page Objects

QTY SIZE# TYPE URL

1 25428 HTML http://www.domyownpestcontrol.com/catalog/

1 8895 IMG http://www.domyownpestcontrol.com/catalog/..._welcome_v3.gif

1 8677 IMG http://www.domyownpestcontrol.com/catalog/.../advancejpg.jpg

1 7996 IMG http://www.domyownpestcontrol.com/catalog/...ader_top_v3.gif

1 7113 IMG http://www.domyownpestcontrol.com/catalog/...irl_70offAd.gif

1 6286 CSS http://www.domyownpestcontrol.com/catalog/stylesheet.css

1 4696 IMG http://www.domyownpestcontrol.com/catalog/...ntbusterkit.gif

1 4660 IMG http://www.domyownpestcontrol.com/catalog/...es/grass_v3.gif

1 2745 IMG http://www.domyownpestcontrol.com/catalog/.../talstarone.gif

1 2373 IMG http://www.domyownpestcontrol.com/catalog/...ittle_house.jpg

1 1457 IMG http://www.domyownpestcontrol.com/catalog/...ages/ccards.gif

1 1448 IMG http://www.domyownpestcontrol.com/catalog/...secure_site.gif

1 636 IMG http://www.domyownpestcontrol.com/catalog/...shopcartbox.gif

1 498 IMG http://www.domyownpestcontrol.com/catalog/...ages/catbox.gif

1 365 IMG http://www.domyownpestcontrol.com/catalog/...s/searchbox.gif

1 189 IMG http://www.domyownpestcontrol.com/catalog/...mages/step2.gif

1 188 IMG http://www.domyownpestcontrol.com/catalog/...mages/step3.gif

1 179 IMG http://www.domyownpestcontrol.com/catalog/...mages/step1.gif

2 162 IMG http://www.domyownpestcontrol.com/catalog/...s/redbar_v2.gif

1 45 IMG http://www.domyownpestcontrol.com/catalog/...ges/tanbar2.gif

12 43 IMG http://www.domyownpestcontrol.com/catalog/...pixel_trans.gif

21^ 84079* Total (^unique objects)

 

# This site is not using HTTP compression, otherwise called content encoding using gzip. Consider compressing your textual content (XHTML, JavaScript, etc.) with mod_gzip or similar products.

 

* CSS alternate stylesheets may be referenced in the HTML but are not actually downloaded until they are needed and are therefore not included in the total page size.

 

Analysis and Recommendations

TOTAL_OBJECTS - The total number of objects on this page is 21 - consider reducing this to a more reasonable number. Combine, refine, and optimize your external objects. Replace graphic rollovers with CSS rollovers to speed display and minimize HTTP requests.

TOTAL_IMAGES - The total number of images on this page is 19, consider reducing this to a more reasonable number. Combine, refine, and optimize your graphics. Replace graphic rollovers with CSS rollovers to speed display and minimize HTTP requests.

TOTAL_CSS - The total number of external CSS files on this page is 1. Because external CSS files must be in the HEAD of your HTML document, they must load first before any BODY content displays. Although they are cached, CSS files slow down the initial display of your page.

TOTAL_SIZE - The total size of this page is 84079 bytes, which will load in over 8 seconds on a 56Kbps modem - or 20.96 seconds. Consider reducing total page size to less than 30K to achieve sub eight second response times on 56K connections. Be sure to provide feedback for pages over 30K by layering your design to display useful content within the first two seconds. Consider optimizing your site with Speed Up Your Site or contacting us about our optimization services.

HTML_SIZE - Caution. The total size of this HTML file is 25428 bytes, which is above 20K but below 100K. With a 10K ad and a logo this means that your page will load in over 8.6 seconds. Consider optimizing your HTML and eliminating unnecessary features. To give your users feedback, consider layering your page or using positioning to display useful content within the first two seconds.

IMAGES_SIZE - Warning! The total size of your images is 52365 bytes, which is over 30K. Consider optimizing your images for size, combining them, and replacing graphic rollovers with CSS.

SCRIPT_SIZE - The total size of all your scripts is 1089 bytes, which is less than 1160 bytes. This will fit into one higher-speed TCP-IP packet.

CSS_SIZE - Caution. The total size of your external CSS is 6286 bytes, which is above 1160 bytes and less than 8K. For external files, try to keep them less than 1160 bytes to fit within one higher-speed TCP-IP packet (or an approximate multiple thereof). Consider optimizing your CSS and eliminating features to reduce this to a more reasonable size.

Link to comment
Share on other sites

I believe most of the slow-down is due to server side processing, because there is a delay before the page even shows up. I even removed a lot of graphics, etc, but still a noticeable delay. How can I speed up the php processing speed?

Link to comment
Share on other sites

I just attempted to install this speed up contribution #1862 and am now getting this error:

 

1064 - You have an error in your SQL syntax near 'MAX_DISPLAY_SEARCH_RESULTS' at line 1

 

select p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '21' limit 0, MAX_DISPLAY_SEARCH_RESULTS

 

[TEP STOP]

 

What have I done?

Gotta fix?

 

Thanks.

Link to comment
Share on other sites

I fixed it!

 

Did not understand the file in the directory outside webspace should ( APPARENTLY) be an empty php file.

Like this in my case

<?php

?>

 

After I updated my store in admin again all is well.

 

And the mysql configurations are contained in this file.

 

Might very well be this explanation is wrong but it is working for me.

 

Hope this helps someone.

Link to comment
Share on other sites

Your site loads fast in my PC..

 

try to upload a fresh OSC intall and compare the loading times.

 

Maybe some code in your modified store is the problem..

 

And try to see your page through another ISP.

Link to comment
Share on other sites

Ok, I'm going to install this contribution and see what happens. I also have the Gzip compression set to TRUE, and the cache is enabled in the admin. I also found a contribution that optimizes the database so I'm going to do that too.

 

Will this contribution work well even if I continue to make updates?

Link to comment
Share on other sites

I just attempted to install this speed up contribution #1862 and am now getting this error:

 

1064 - You have an error in your SQL syntax near 'MAX_DISPLAY_SEARCH_RESULTS' at line 1

 

select p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '21' limit 0, MAX_DISPLAY_SEARCH_RESULTS

 

[TEP STOP]

 

What have I done?

Gotta fix?

 

Thanks.

You have an error in your SQL syntax, or perhaps you are requesting soemthing in the DB that isn't there.

 

 

btw, the page loads quickly on 56k, but you are right about the images loading slowly. There was a delay before they even started to load. Some of them are quite large for GIF files. Have you tried using a GIF optimizer such as that included with Jasc Animation Shop? It can really cut down on the size and maintains quality as well.

 

Good looking site btw, nice work. :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...