Apache .htaccess vs httpd - does it really matter?

前端 未结 4 1270
终归单人心
终归单人心 2021-02-05 20:05

I know this question has been asked many times and I\'ve researched it myself on Google as well but just can\'t come up with the answer I need.

My hosting company is NOT

4条回答
  •  醉话见心
    2021-02-05 20:32

    With my test (based on: http://www.fubra.com/blog/2008/01/07/htaccess-vs-httpdconf/), the result is: the performance difference is negligible.

    5000 rounds:

    # htaccess Disabled
    real    1m1.069s
    user    0m10.956s
    sys     0m9.748s
    
    # htaccess Enabled
    real    1m1.658s
    user    0m11.434s
    sys     0m9.848s
    

提交回复
热议问题