add logging when caching empty value