Add caching to the acl behaviour