I’m having some trouble understanding what’s going on with my
When a page is accessed, sometimes after the page is already displayed
(in the log I get a 200 OK message for the entire page), I see tons of
requests for 127.0.0.1, and I just can’t understand where they’re
I read a bit about caching and mongrel and I’m starting to think it
might have something to do with caching (although I have not specified
caching for any of my controllers, in the production.rb it is set to
The real problem is I have a routing redirect for every request that
does not start with www (e.g: user.mysite.com) to be direct to the
user/index action. so what happens with those unknown requests is that
they too are redirected which is causing heavy load for the webserver
for no reason.
I can of course work around the issue of the redirection somehow, but
i’m more in interested in why it happens.