add cache for computed pattern / users matchs