dynamically set team detail cache length. fixes #574
Merge pull request #575 from fangeugene/team-caching

dynamically set team detail cache length. fixes #574