Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove dependency on Configure from Cache.
Not using Configure to setup caching has a couple benefits. * Using Configure creates magic at a distance. Setting things in one class creates effects in another. * Cache engines are always configured the same way. * Dropped cache engines don't magically re-create themselves. * It is still simple to create cache adapters using configuration files, or inject instances directly. With this change we still lazily load cache adapters once they are used. Add a CacheRegistry to make Cache similar to log and other registy based classes in CakePHP.
- Loading branch information
Showing
11 changed files
with
288 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.