loading...

re: How to optimize your php website(feat.Gzip Compression) VIEW POST

FULL DISCUSSION
 

You're not talking about brotli!

Also, having a .htaccess in a folder is bad for performance (I believe the topic of this post).

The first of these is performance. When AllowOverride is set to allow the use of .htaccess files, httpd will look in every directory for .htaccess files. Thus, permitting .htaccessfiles causes a performance hit, whether or not you actually even use them! Also, the .htaccess file is loaded every time a document is requested.

From: haydenjames.io/disable-htaccess-ap...

 

Good point! I will try to talk about brotli later in the next couple of posts! Thanks for your clarifcation!

code of conduct - report abuse