onSuccess callback fix for data-only caching.