[fix] generator cache