Implement fragment caching strategy

Fragment caching strategy for the principal, sections of users and badges.

Things to consider:

* Remember to add expiration rule
* Merge this after @jmoralesc changes
* Use at the moment to test where we really need it.
* [WIP]