Am 12.05.2009 um 02:58 schrieb Mike Schrag:

p.s. I could go either way on this topic. I think a rewrite rule is the "easiest" but others may not. And if you don't currently have any rewrite rules then it definitely adds a new deployment wrinkle. I long for the day when I once again deploy a WO app with only one external configuration dependency (a single rewrite rule)....
I personally use rewrite rules for most of these kind of things, also, but like you said, it's because I already have rewrite rules as part of most of my deployments.

I for my part like to have only one or two general rules which transforms stuff into a request parse-able by a WO request handler. It's *so* much easier to write the needed regex code in java than to do it in a apache config. Also, with more than one web-server, the whole sync-and-restart thing gets old pretty quick.

Also, when you have larger resources which can't be served from a cache, it doesn't make much of a difference as you can serve with a streaming handler.

The only place it *does* matter is that WO requests seem to be served with "connection: close", which forces the browser to make extra connections. So serving your html and all/most your images from WO may impose a hefty page load penalty. I haven't yet found a way around this (and it's probably not a good idea to do so...)

Cheers, Anjo

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to