can .htpasswd or .htaccess effect speed of site

Discussion in 'Programming' started by sakib000, May 2, 2007.

  1. #1
    I m using .htpasswd to protect some dir and .htaccess to ban some ip but can anyone tell me if these files effect my site speed.
     
    sakib000, May 2, 2007 IP
  2. bibel

    bibel Active Member

    Messages:
    289
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Yes, they do, but no one can tell the difference. It is like adding a few more conditional statements in your scripts. I would estimate your site will be 0.001% slower
     
    bibel, May 2, 2007 IP
  3. relixx

    relixx Active Member

    Messages:
    946
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    70
    #3
    Like bibel said, they do (as they require processing with each query) but the effect is not noticable, unless you have a really large amount of conditions and/or you ahve a really large amount of traffic (didn't WMW have a problem where they banned so many IPs in the htaccess file it brought the site to a crawl due to the intense traffic they get?)
     
    relixx, May 3, 2007 IP