Implement new cache rebuild criteria.
          - Fix slash in regexp