> you could modify this behavior to save in a way that cross-table- > deletion is easier possible > for instance saving all involved models in the filename: > > model1_model2_model3_hashname > > so if you have changes in model2, you can delete *_model2_* > that's just an idea. it can get problematic with many models and > therefore too lang filenames >
This is a good idea With CakePHP if I call Cache::delete('*_model2_*'); I delete all keys with _model2_ in name? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php