take advantage of the cache to store parsed grants. This allows to limit the size of the pre-computed grants