On 3 Mrz., 14:04, Brocco <broccola...@gmail.com> wrote:
> With symfony
> 1.4, I used to cache the result of this function (which changes at
> most every 24 hours) with sfFunctionCache and sfFileCache.
> Is it possible to store some function result in the cache with
> symfony2?

I have the same problem. I'm sitting here browsing the SF2
documentation and source code looking for a generic "Cache" class like
sfCache to store arbitrary data with backends like XCache or APC (if
they are available) or the file system.

I can't see such a cache class in SF2, only the special ones
"HttpCache" and the Sensio\Bundle\FrameworkExtraBundle\Configuration
\Cache class. Am I missing something? What do others use for caching
in SF2? I'm considering using Zend_Cache, would this be the right
approach?

Thanks, Christoph

-- 
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