Add a mini cache only available for the current process to improve performance.