[Twisted-Python] twisted web question

Philippe Lafoucrière lafou at wanadoo.fr
Wed Dec 17 04:30:05 EST 2003


On Tuesday 16 December 2003 16:06, Greg Lappen wrote:
> So basically one has to use an rpy file to avoid this issue....
>
> One thing I was wondering about using an rpy file:
>
> Does the resource object get instantiated on every request?  It seems
> like this would cause a lot of page objects to be created for every
> request...


yep, they are created for every request !
that's why you should only use it for dev/debug.

--
sry for the twisted-web discussion here guys...
(the problem wouldn't appear with a forum, u know... :) )





More information about the Twisted-Python mailing list