Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Does it make my pages slow?

  1. #1
    Join Date
    Aug 2006
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Does it make my pages slow?

    Sorry for my million and one questions, but I was wonding if my use of CSS makes my pages slow. I'm half thinking it may be the adds since I'm on a free site (will get my own domain when I graduate). All my pages seem to load slower than they should but all at pretty much the same speed.

    Here's the page I use the most CSS on: http://www.angelfire.com/journal2/ka...eescorner.html

    But as I said, all the pages seem to load at that same speed.

    How can I make them faster?

  2. #2
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    It's 99.99999999% more likely because of the free hosting.

    How can I make them faster?
    Don't use free hosting. Or... you could use a HTML Compressor.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  3. #3
    Join Date
    Aug 2006
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Where do I find an HTML compressor?

    Yes, I will be upgrading to a paid account soon, but in the mean time . . . lol

  4. #4
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    CSS actually improves the page loading compared a layout which is based on HTML tables.

    Excess usage of images may increase the time while loading the page.

    You can download a free HTML compressor from here http://www.trustmeher.net/freeware/htmltools02.htm

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Compressing html is just plain silly.
    Sure, it makes it faster, but... how much?

    HTML is JUST text. Unless you've got a page that is a book, it'll be only a few kilobytes. A very complex page might end up being 30k, and that's with a TON of text (well over 1,000 lines). Let's say 100k, even. That's still incredibly fast to load, compared to ANY images.

    The connection time (for it to start serving the page) and the time for any media will far outweigh the html.

    Your pages, on average, will be about 2-3k. That's so little in terms of speed that if anything is slow, it's the server connecting to the browser and starting the process, then any additional content.
    CSS might slow the processing of the page, but the CSS itself is, like html, just text, so loading that would not be a problem.
    And CSS is common and rarely so complex that it would slow things down too much. Unless you have trouble on your computer with CSS in general, you can rule that out.

    Specifically about your page--
    1. The music slows it down. A lot. That's almost surely the answer.
    2. The images are big, and that doesn't help.
    3. More images (background, banners, etc.)
    4. The ads could also be slowing it down. Frequently, ads load much after the rest of a page, and cause what appears to be (and basically is) a lag.
    5. Any javascript activity hidden in the background could also cause a processor lag, but this would usually be after it loads and only noticable when you try to do something (like scroll).

    Ads will be solved by moving from a free host, and the free host will likely be slower than a paid host, so that'll speed it up a bit, but that won't fix the fact that you have large images and especially that you have a large music file. That will, no matter what, take time to download. Music on a page is very annoying anyway, to the average browser, so you might want to make that optional, on a secondary page, etc., so that they can load it if they want, rather than slowing down the main page. You could also compress the images and/or audio more, at some quality loss, depending on the level of compression.

    Simply put, you need to decide if having that audio there is worth your time downloading the page (and that of your visitors).
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. #6
    Join Date
    Aug 2006
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Cool. Will definately switch to an upgraded site and take of the audio. I like the large images though, but if it is suggested I downsize how many pixels would be best?

  7. #7
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Use .png image extensions, with pngcrush. It compresses the png images, but keeps the quality.
    - Mike

  8. #8
    Join Date
    Aug 2006
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    OK. So one last question and then I think I know what to do. Where do I find pngcrush?

  9. #9
    Join Date
    Aug 2006
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I found several places wehre I could download pngcrush but to be on the safe side, is there a site which any of you could suggest? I would hate to get it from an unsafe source.

  10. #10
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Download.com... im betting its there...
    now im going to look for it,
    aaaaand:
    Sourceforge PNGCrush.

    Download dot com never failed me before...
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •