Basically, you're talking about user profiles and caching, aren't you? So associations User hasOne Profile, Profile belongsTo User, and your visibility/etc attributes in profiles table. Set up cache configuration for it http://book.cakephp.org/2.0/en/core-libraries/caching.html (or use 'default') and fill up (for example) visible profile/users ids in some cached key/record - note, don't use filesystem based caching in production. Then, in model Profile::afterSave() and afterDelete() callbacks alter/clear cached info of that particular user and that's it.
-- 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
