Add caching to 'flavor' plugin type.
Merge pull request #1369 from openscholar/profile-cache

Add caching to 'flavor' plugin type.