ezsystems/ezpublish-kernel — pull request #368 by lolautruche (2013-05-16 09:49:50+00:00)
Title: [WIP] Implemented EZP-20071: HttpCache should Vary on the user hash

This pull-request implements a way to insert the user hash into the request so that the HttpCache can vary on it, making cache shareable like it was in legacy.

This implies to be able to generate a **user hash** and make this generation extensible.

## Tasks

* [x] Implement a basic user hash generator
* [ ] Make the hash generator fully extensible
* [x] Implement a basic usage in ViewController
* [ ] Remove the UserService hack and use repository `sudo()` instead.
* [ ] Find a way to correctly *cache* the user hash at the user level so that retrieving it does not have too much impact on performance (implies to be able to reset this *cache* when user logs in/out)
* [ ] Unit tests :smiley: