remove read_cache function

Signed-off-by: Thiago Rondon <thiago.rondon@gmail.com>