Avoiding the use of .htaccess for performance

.htaccess files are often used because they allow quick changes to the apache web server configuration and don't require apache to be restarted. However with this flexibility comes a number of performance implications and as a result they should be avoided unless you have absolutely no other way to put…