Add box caching.
Prefix CID by group ID.
Remove wrong code.
Merge pull request #1367 from openscholar/1357

Cache mechanism for boxes