Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Dec 2010
    Location
    Australia
    Posts
    356
    Thanks
    143
    Thanked 0 Times in 0 Posts

    does commented-out content \* *\ add to retrieval time?

    suppose I had 60 lines of comments in style sheet and in html pages. Will it make a noticeable difference to retrieval time?

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,747
    Thanks
    22
    Thanked 1,838 Times in 1,822 Posts
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Although that normally works, Excavator, I don't believe those results specifically answer the question, though you could get there with some inference.

    By far the longest part of a page loading time nowadays is the HTTP request; the transfer of data is normally so minuscule it is negligible. So long as you don't plan to triple or quadruple the size of your document with these comments, you should be fine.

  • #4
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,747
    Thanks
    22
    Thanked 1,838 Times in 1,822 Posts
    I don't believe those results specifically answer the question, though you could get there with some inference.
    Yes, that's why I didn't say one way or the other.

    My own thoughts on the subject we pretty much what you just said, that a few comments in the CSS file are not a big factor in load times ... but I had nothing to back that up with.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #5
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Quote Originally Posted by Excavator View Post
    Yes, that's why I didn't say one way or the other.

    My own thoughts on the subject we pretty much what you just said, that a few comments in the CSS file are not a big factor in load times ... but I had nothing to back that up with.
    Fair enough, I just thought you were a bit grumpy today.

  • #6
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,747
    Thanks
    22
    Thanked 1,838 Times in 1,822 Posts
    Quote Originally Posted by Apostropartheid View Post
    Fair enough, I just thought you were a bit grumpy today.
    Also fair. I have been a bit grumpy lately...

    I'm working on that.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Posting Permissions

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