Add cache->set method to engine
Signed-off-by: fzerorubigd <fzerorubigd@gmail.com>