[Zope] efficient internal redirect
Andy Heath
a.k.heath@open.ac.uk
Mon, 13 Mar 2000 13:23:08 +0000
> 1) Pages within Zope
> 2) External sites or pages that link to these pages
> 3) You'd like the underlying pages to be separate from the URLs to which
> these external pages refer, so that you can move the actual data around.
> 4) You want this to perform really well.
>
> >From this specification, it sounds like, aside from the marginal
> performance loss incurred, you should be able to make do by using plain
> old HTTP redirection. Did I get any part wrong?
Yes.
Plain old inclusion (like #include in C) would work faster
because it doesn't go back to the client in the same sense
as HTTP redirection.
There is some way of doing this in dtml, I know because
I had something working at one point but I can't remember
what it is. I do remember it only worked if the objects
that were redirected to (equivalent of included) were methods
not documents.
<dtml-var "whatever.whateverelse.object> gets the right object
but it doesn't get rendered.
Andy
--
-------------------------------------------------
Andy Heath a.k.heath@open.ac.uk
The Open University +44 (0) 114 2885738