debug

* handle uri extension in priority (for images)
* cache: add file max size < 51200 (50Ko)