add log cache in order to reduce http requests