16 de maio de 2011

Ignore cache on a specific component

If you globally activated cache on your application but need a specific component to skip cache:

On app_name/modules/module_name/config/cache.yml:
_componentName:
  enabled: false

Note: this will deactivate cache on _componentName.php