![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Oct 2003
Location: Command Central, West Palm Beach, Fl
Posts: 1,794
|
Mod rewrite...is it a burden on webservers?
I have heard that mod rewrite is a burden on webservers from a few people, just wanted to see if anyone thinks so or not. I understand it's a extra step in loading a page, which sometimes requires a db call or parsing a page to see what the vars are.
Your thoughts...
__________________
I do stuff - aIm CS_Jay_D |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Mar 2006
Posts: 182
|
Apparently so, it depends on the load and number of rules it has to compare.
Reading .htaccess in each directory also puts more load, so it's best to put it in httpd.conf |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Oct 2003
Location: Command Central, West Palm Beach, Fl
Posts: 1,794
|
Now, that's a good idea. I'm thinking of doing just the basic kind of type=xxxx to do domain.com/xxx/ kind of thing. But, that's what I heard was the dir. .httaccess was more of a load.
__________________
I do stuff - aIm CS_Jay_D |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
So Fucking Banned
Join Date: Oct 2003
Location: In a house.
Posts: 9,465
|
An extra step is an extra step. Now, if you are running a ton of rules (say to block hotlinkers or limit access by scoop-bots) you might find your server getting bogged down a little. Check your server activity, watch the usage, and see what is going on. Test your web page download speed with and without the rules in there, and you will know the answer.
Alex |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Registered User
Join Date: Feb 2006
Location: TEH PIT
Posts: 88
|
Not to my experience, it is not. Of course I am assuming that you aren't running 50 or so rewrite conditions & rules. In my case, there are often a dozen or two rules, and I don't feel it impedes performance in any [significant] way
__________________
Mike Seth - 274-570-412 <mikeseth at gmail.com> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Sep 2001
Location: Boston
Posts: 4,873
|
I think if you keep the rules brief and write it into the webserver config not in .htaccess its pretty good
I run about 30 rules+ on freehosting machines without any noticeable effect on load |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Too lazy to set a custom title
Join Date: May 2004
Posts: 14,423
|
hmm interesting, never really considered the load effect of it. was planning for an upcoming project to do some intensive mod rewrites.
__________________
no sig |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Sep 2005
Location: Your mom is my favorite pornstar!#%
Posts: 5,995
|
It's only a burden on the server if you are running a server with high traffic on a 386.
![]()
__________________
Fling.com doesn't steal your traffic and sales unlike some other dating companies. I promote them, and so should you! ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |