website optimization == HTML CSS gurus please help

Discussion in 'HTML & Website Design' started by mz906, Nov 28, 2007.

  1. #1
    mz906, Nov 28, 2007 IP
  2. nwk

    nwk Well-Known Member

    Messages:
    385
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    158
    #2
    nwk, Nov 28, 2007 IP
  3. chrys

    chrys Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    minimize graphics,
    maximize css,
    use the barnyard doors techniques to minimize the number requests to your server (this is where you have many images in the same graphic and you just adjust the background position)
    pack your javascript for production
    compress your css for production
    use a lightweight webserver for static content instead of apache

    those are just what I have off the top of my head.
     
    chrys, Nov 28, 2007 IP
  4. kharen

    kharen Banned

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    don't make flash as much as possible.. you can attract visitor but it will not help your site to crawl by the SEs...
     
    kharen, Nov 28, 2007 IP
  5. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #5
    I don't like using automated optimizers for CSS, other than somthing that toggles whitespace for human/machine reading. I'm afraid of having rules combined that break somthing & needing to compare the before & after to find it.

    I try to keep classes & ids to container elements as much as possible now. I find it more efficient to target somthing like this instead of reserving special classes for elements.
    For instance a.post-link
    #posts li.post address a {}
    #posts li.post p {}
    #posts li.post p a{}
    Code (markup):
    I just wish IE6 supported child selectors (#parent > #child) sometimes.
    IE7 has gotten better with CSS selector support though.

    I see alot of webpages which could probably save alot of the bandwidth they use just by trying to target their styles a little more efficiently.

    When all else fails, start with a good book.
     
    joebert, Nov 28, 2007 IP
  6. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #6
    But how hard would it be to find decent hosting with a server that's not Apache? Every host I've seen offers either IIS or Apache.. Haven't seen any of them offer lighttpd or anything like that..
     
    soulscratch, Nov 28, 2007 IP
  7. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #7
    A good dedicated server could run whatever you wanted, couldn't it ?
    Not a VPS, but an actual dedicated.
     
    joebert, Nov 28, 2007 IP
  8. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #8
    If you're willing to pay for it, sure.
     
    Dan Schulz, Nov 30, 2007 IP