You can override getCacheDir method of Kernel Class in your appKernel, so you can set your cache dir to a safe dir, outside Symfony root dir, or eventually set it to /dev/null .
Le 14 déc. 2012 à 19:33, Kevin Caporaso <capnetconsult...@gmail.com> a écrit : > For security reasons I want to completely disable all caching in sf2. > (e.g. I don't want my env. variables compiled and written out to disk) > > Is there an "easy" way to accomplish this via config.yml or another > configuration file? > > I've found a "cache: false" setting for twig, but I use both twig and php > engines. > I've also taken out: > $kernel->loadClassCache(); > in ./web/app.php > > However, I still see activity in the app/cache folder structure. > > Just wondering if there is an all encompassing "cache: off" switch somewhere. > If you respond to this post, please don't encourage me to "not" turn off > caching. > > Thanks, > Kevin > > > > -- > -- > If you want to report a vulnerability issue on Symfony, please read the > procedure on http://symfony.com/security > > You received this message because you are subscribed to the Google > Groups "symfony developers" group. > To post to this group, send email to symfony-devs@googlegroups.com > To unsubscribe from this group, send email to > symfony-devs+unsubscr...@googlegroups.com > 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 read the procedure on http://symfony.com/security You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en