Add cache functions per domain