sfViewableModelPlugin - 0.3.0

Links symfony's view cache to your model and automatically removes cached templates when model objects used to build them are modified

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source

The sfViewableModelPlugin links symfony's view cache to your model and automatically removes cached templates when model objects used to build them are modified.

Installation

To install, simply update your application's config/factories.yml to include the plugin's view cache manager:

# /apps/APP/config/factories.yml
all:
  view_cache_manager:
    class: sfViewableModelViewCacheManager

Then clear your cache using symfony cc and watch how much smarter your cache is!