Forum Moderators: coopster & phranque

Message Too Old, No Replies

.htaccess order

Processing is slowing down delivery

         

mdharrold

1:56 am on May 22, 2002 (gmt 0)

10+ Year Member



What would be the best order to place items in the .htaccess file to reduce the amount of processing by the server and increase delivery time?

I currently have:
Redirects
AddHandlers
Rewrites
ErrorDocuments

PsychoTekk

7:58 pm on May 22, 2002 (gmt 0)

10+ Year Member



access (allow/deny)
Header set...
DirectoryIndex
Rewrite stuff
Redirect
AddType...
ErrorDocument...

i suppose the .htaccess file is loaded once per established connection anyways
so there might not be a better or a worse order
in addition to that: i think delivery time is way more influenced
by the html/etc. -documents than by the .htaccess file

mdharrold

8:02 pm on May 22, 2002 (gmt 0)

10+ Year Member



My .htaccess was looping through several rewrite rules and was adding 7-10 seconds to the load time.

I have parsed down the rewrites so it is fast now but I was curious if anyone new of the "best" order.

Thanks.