Reputation: 391
I have used .htaccess in my project.
I have use rewrite rule for several pages.
Can anyone tell me what is max size of .htaccess? As I read if size of .htaccess increase web site performance down (i.e. it slows down).
Upvotes: 0
Views: 207
Reputation: 31
2gigs is the max and seems to me I start to see a load issue after about 57,000 lines of code an example is I added 360,000 lines of code country blocks and my connectiobn to the server added at least a 10 to 15-second delay on page loads that is a big difference from a 2 second login and page load.
Upvotes: 2
Reputation: 137467
.htaccess is used by the webserver to control different things when the page is requested. Since I believe the file is parsed for every page request, you should probably keep its contents to a minimum. However, I'm not aware of any size limit.
Upvotes: 0