July 13, 2006

Geek

Ick

Not to be using CherryPy for static files.

Well, they do tell you that in the documentation. It works just fine, and makes things a lot easier to set up. But it imposes the same level of overhead for static files as it does for dynamic pages.

6ms of overhead when a page takes 10 to 30ms to generate isn't a big problem.

6ms of overhead when a page takes 2ms to fetch from the cache is more of a problem, but it's better than 160ms of overhead.

6ms of overhead for a static file is... not so good.

So now I get to play with mod_rewrite. Because I don't have a live crocodile to shove down my pants.

Update: Oh look, mod_proxy isn't enabled. So I have to recompile Apache before I can use mod_rewrite with [P] tags. I'll leave it for another day, I think.

Posted by: Pixy Misa at 12:15 PM | Comments (28) | Add Comment | Trackbacks (Suck)

1

I could umm maybe could ship you an alligator, there's
several within an hour drive or so.

Or perhaps just some MM's.



MM's would definitely make customs happier.

Posted by: phin at July 15, 2006 11:26 AM (9Vcb6)

2 Customs is generally persnickety about live animals... but would shoving hands full of MMs down your pants really produce the same stimulative effect as a live crocodile?

Posted by: HC at July 15, 2006 12:47 PM (E1/LX)

3 Uh, it's not that I want to shove a live crocodile down my pants. It's just that the overall effect is roughly equivalent to trying to get mod_rewrite to do something useful.

Posted by: Pixy Misa at July 17, 2006 02:19 AM (GF7ie)

4 Thought crocs were closer to your neck of the woods?
I LIKE mod_rewrite. I like doing things like this:
RewriteCond %{REQUEST_URI} cgi-bin\/mt-tb.cgi
RewriteCond %{HTTP_USER_AGENT} ^Mozilla
RewriteCond %{REQUEST_METHOD} ^POST$
RewriteRule ^.*$ - [F,L]
(That one little rule blocked a LOT of the spam bots back when...)

Posted by: Kathy K at July 18, 2006 03:21 AM (I+TOp)

5
I didn't know that. It's really weird that they didn't mention this as an
option when I called on the tech support line, don't you think? They almost
tried to dissuade me from taking my laptop into the store.

Posted by: etech at January 19, 2011 12:50 PM (yTUIb)

6 I don't understand the concept of watch cell phone myself. Maybe it's because I like to have one device that does everything (spy cameras, phone, mp3/mp4 player, MiniPC), and can't see the purpose of having such a small device that only makes calls and plays music for cell phone accessories.

Posted by: etech at January 19, 2011 12:53 PM (yTUIb)

Hide Comments | Add Comment






Processing 0.01, elapsed 0.0091 seconds.
16 queries taking 0.0051 seconds, 28 records returned.
Page size 10 kb.
Powered by Minx 0.8 beta.