@roger
The ArrayCache will not store data from one request to another
request. It should, however, store data for a single request. Two
identical SQL requests that are cached should result in 1 query with
ArrayCache on.

@winzou
FOS/Userbundle is not symfony - it's an independently maintained
symfony bundle. I'm not sure if the FOS/UserBundle uses the doctrine
cache. I could be wrong here though...

It's up to you, the user, to deal with Doctrine caching and validation
in your application. Symfony cannot know what you want to cache and
when you want to clear the cache.

On May 5, 4:17 pm, Roger Webb <webb.ro...@gmail.com> wrote:
> From the Doctrine documentation (21. Caching)
>
> "We also provide an ArrayCache driver which stores the data in a PHP
> array. Obviously, the cache does not live between requests but this is
> useful for testing in a development environment."
>
> On May 5, 2:42 pm, winzou <alexandre.ba...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I'm using array caching for the moment. Shouldn't it work even with the
> > array driver for the cache? As it's in the same http request, array caching
> > must persist data from the first SQL request until the second one. But it
> > doesn't.

-- 
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to