It looks like the ORM saves auto-generated proxy classes to the database:
https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Proxy/ProxyFactory.php#L155

The MongoDB ODM as well:
https://github.com/doctrine/mongodb-odm/blob/master/lib/Doctrine/ODM/MongoDB/Proxy/ProxyFactory.php#L151

Kris
On Monday, February 28, 2011 at 3:26 PM, Lukas Kahwe Smith wrote: 
> 
> On 28.02.2011, at 21:22, Benjamin Eberlei wrote:
> 
> > auto generating proxies generates the proxy on EVERY request.
> 
> oh .. thats pretty bad indeed.
> 
> ok then, i guess this means that such users need to configure cache warming 
> for just the bare minimum, like proxies. in this case we should again not see 
> any performance issues. i think the performance issues for the first request 
> really just start to happen when you then also slap on twig templates etc.
> 
> in other words i am saying: if you start to notice that the first request is 
> slower than you think is acceptable (or your max allowed request time), then 
> you just have to start using the CLI tool .. or a forthcoming web based cache 
> warmer. but nothing really in core to do here.
> 
> regards,
> Lukas Kahwe Smith
> [email protected]
> 
> 
> 
> -- 
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
> 
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
> 

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to