Cache log data across requests.