rewrite backends cache