How much does using htaccess files slow down website performance (especially with solid state disks)?

后端 未结 6 1034
盖世英雄少女心
盖世英雄少女心 2020-12-15 04:38

The Apache docs say (http://httpd.apache.org/docs/2.4/howto/htaccess.html),

\"You should avoid using .htaccess files completely if you have access t

6条回答
  •  感动是毒
    2020-12-15 05:26

    The httpd.conf is parsed one time. If you use .htaccess it'll get hit every time something is called. That'll cause a fairly large performance hit that will just get worse with increasing requests.

提交回复
热议问题