Author: sevein
Date: Tue Feb  7 13:58:25 2012
New Revision: 10817

Log:
Show inherited factories directives in factories.yml so other cache engines can 
be used easily by users

Modified:
   trunk/apps/qubit/config/factories.yml

Modified: trunk/apps/qubit/config/factories.yml
==============================================================================
--- trunk/apps/qubit/config/factories.yml       Tue Feb  7 13:50:27 2012        
(r10816)
+++ trunk/apps/qubit/config/factories.yml       Tue Feb  7 13:58:25 2012        
(r10817)
@@ -41,12 +41,23 @@
 all:
   i18n:
     class: sfTranslateI18N
+    param:
+      cache:
+        # class: sfAPCCache
+        class: sfFileCache
+        param:
+          automatic_cleaning_factor: 0
+          cache_dir: %SF_TEMPLATE_CACHE_DIR%
+          lifetime: 86400
+          prefix: %SF_APP_DIR%/template
 
   routing:
     class: QubitPatternRouting
     param:
       generate_shortest_url:            true
       extra_parameters_as_query_string: true
+      # class: sfAPCCache
+      cache: ~
 
   view_cache_manager:
     class: sfViewCacheManager

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" 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/qubit-commits?hl=en.

Reply via email to