Problem/Motivation
Currently, if Demandbase fails to load, we wait X amount of time and then move on without it. On the subsequent page load, we again check, and wait, and then move on without it.
Proposed resolution
I think it would be worth storing empty values in smart content storage so that on the next page load, we can proceed without waiting again. Demandbase can still lookup in the background, and upon completion, we can throw the value into storage. In this circumstance, if demandbase fails to load on first page load, the second page load would not use demandbase data(even if demandbase successfully returns information), but on third page load demandbase data would be loaded from storage(which is set during the second step). The added benefit here would be that if demandbase data changes for some reason, we would be able to update storage in the background, giving us a 1 page load delay in using the updated data.
Comments