Slow Site

I read a thread somewhere about this, but can't find it. Our site is really slow and that is without users using it.

What are the major influences of this and does anyone have suggestions?

  • AquaPebble

    Ok I did a test at http://analyze.websiteoptimization.com/

    This was the result:

    Analysis and Recommendations

    TOTAL_HTML - Congratulations, the total number of HTML files on this page (including the main HTML file) is 1 which most browsers can multithread. Minimizing HTTP requests is key for web site optimization. Y

    TOTAL_OBJECTS - Warning! The total number of objects on this page is 95 which by their number will dominate web page delay. Consider reducing this to a more reasonable number. Above 20 objects per page the overhead from dealing with the actual objects (description time and wait time) accounts for more than 80% of whole page latency. See Figure II-3: Relative distribution of latency components showing that object overhead dominates web page latency in Website Optimization Secrets for more details on how object overhead dominates web page latency. Combine, refine, and optimize your external objects. Replace graphic rollovers with CSS rollovers to speed display and minimize HTTP requests. Consider using CSS sprites to help consolidate decorative images. Using CSS techniques such as colored backgrounds, borders, or spacing instead of graphic techniques can reduce HTTP requests. Replace graphic text headers with CSS text headers to further reduce HTTP requests. Finally, consider optimizing parallel downloads by using different hostnames or a CDN to reduce object overhead.

    TOTAL_IMAGES - Warning! The total number of images on this page is 57 , consider reducing this to a more reasonable number. Recommend combining, replacing, and optimizing your graphics. Replace graphic rollover menus with CSS rollover menus to speed display and minimize HTTP requests. Consider using CSS sprites to help consolidate decorative images. Use CSS techniques such as colored backgrounds, borders, or spacing instead of graphic techniques to reduce HTTP requests. Replace graphic text headers with CSS text headers to further reduce HTTP requests. Finally, consider optimizing parallel downloads by using different hostnames to reduce object overhead.

    TOTAL_CSS - Caution. The total number of external CSS files on this page is 5 , consider reducing this to a more reasonable number. 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 upon subsequent requests, CSS files slow down the initial display of your page. Combine, refine, and optimize your external CSS files. Ideally you should have one (or even embed CSS for high-traffic pages) on your pages. You can optimize CSS files using shorthand properties, grouping, and then minify and GZIP compress them to reduce their footprint. Remember to place CSS files in the HEAD and JavaScript files at the end of the BODY to enable progressive display.

    TOTAL_SIZE - Warning! The total size of this page is 812696 bytes, which will load in 180.97 seconds on a 56Kbps modem. Consider reducing total page size to less than 100K to achieve sub 20 second response times on 56K connections. Pages over 100K exceed most attention thresholds at 56Kbps, even with feedback. Consider optimizing your site with Website Optimization Secrets, Speed Up Your Site or contacting us about our optimization services.

    TOTAL_SCRIPT - Warning! The total number of external script files on this page is 32 , consider reducing this to a more reasonable number. Combine, refactor, and minify to optimize your JavaScript files. Ideally you should have one (or even embed scripts for high-traffic pages) on your pages. Consider suturing JavaScript files together at the server to minimize HTTP requests. Placing external JavaScript files at the bottom of your BODY, and CSS files in the HEAD enables progressive display in XHTML web pages.

    HTML_SIZE - Caution. The total size of this HTML file is 66756 bytes, which is above 50K but below 100K. With 50K of images and multimedia this means that your page will load in about 20 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 200636 bytes, which is over 100K. Consider switch graphic formats to achive smaller file sizes (from JPEG to PNG for example). Finally, substitute CSS techniques for graphics techniques to create colored borders, backgrounds, and spacing.

    SCRIPT_SIZE - Warning! The total size of external your scripts is 537222 bytes, which is over 20K. Consider optimizing your JavaScript for size, combining them, and using HTTP compression where appropriate for any scripts placed in the HEAD of your documents. You can substitute CSS menus for JavaScript-based menus to minimize or even eliminate the use of JavaScript.

    CSS_SIZE - Congratulations, the total size of your external CSS is 8082 bytes, which is less than 8K.

    MULTIM_SIZE - Congratulations, the total size of all your external multimedia files is 0 bytes, which is less than 10K.

  • AquaPebble

    I have removed some plugins that show up in the analysis as taking quite a bit of time and that has improved things.

    I see that there is an image and php file in the header it is trying to find in my theme that are not there and those two take quite a bit of time too: spinner.gif and global-adimbar.php. I am not sure why this is as I can't find any reference in the css or header.php.

    Also I saw a suggestion of putting your js in your footer instead of your header. Is that safe to do with bp daily?

    Sorry for all the replies. I found a suggestion after I posted to do that analysis. And started working from there. But because I am a noob at technical web stuff, I am sort of flying blind and trying to figure out what everything in this report means.

  • drmike

    Just for reference, please give the url of the site in question so we can see what's occurring. Glad you were able to improve things though.

    As to the js in the footer, folks suggest that so that it;s the last thing to load. If you;re loading js from offsite, like Google Analytics and if that site is down, the browser doesn't hold up loading the rest of the page until that other site timesout. Other than that, there's really no difference in loading times.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.