Add sp.flush_cache