Fix #321

Do not re-cache cached results

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>