Implement fragment caching strategy

Fragment caching strategy for the principal, sections of users and badges.