Michael, I am glad you fine the plugin fits your needs. The cache factory comes from my branch. This can be safely ignored in the sample app. There is no setting for caching config files in apc instead of disk. In mose cases, this does not make sense, as the cached files contain php code and not cacheable data. The apc cache in the ysfDimensionsPlugin, simply caches the dimensions configuration and the paths to configuration files (not the files themselves). Since the ysfDimensionsPlugin extends the configuration cascade, there is no reason to recalculate every request.
For the i18n, routing, and view_cache factories you can change the cache instances to use apc, see: all: view_cache: class: sfAPCCache # cache class: sfAPCCache, sfXCacheCache param: lifetime: 31556926 # default cache ttl prefix: %SF_APP_DIR%/template # prefix i18n: class: sfI18N param: cache: class: sfAPCCache param: lifetime: 31556926 prefix: %SF_APP_DIR%/i18n routing: class: sfPatternRouting param: cache: class: sfAPCCache param: lifetime: 31556926 prefix: %SF_APP_DIR%/routing Please let me know if you have any questions or concerns. Cheers, Dustin On 6/6/08 8:20 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > Dear Dustin, > > i love your plugin, once i tried it in the last days. I have a > question regarding the cache. In the docs APC is mentioned to save the > settings. In the fixtures directory there is also a complete example > project and i can see, the sample app (dimensions) has an "cache" > setting in factories.yml > > But ASFAIK this setting is not handled by symfony 1.1, isn't it? There > is only a setting for "view_cache", which i already know. So is there > anywhere a setting to force symfony to use APC cache (or any other > opcode cacher) for all config files, instead of diskfiles? > > Thanks again, > Michael > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---