Properly implementing non_persistent cache groups and global cache groups