Added enable/disable cache feature.

Signed-off-by: Wolftein <agustin.l.alvarez@hotmail.com>