We have implemented a custom url provider which determines the url of a specific node type. The same node is linked to from multiple websites in Umbraco RTE's (also multiple domains) and doesn`t always give the right url.
It looks like the url provider isn't called every time we request an url, as the url returned is for another website. We do not cache the output of the url provider, and validated if the url provider was called every time (which it wasn't). It seems like Umbraco caches the url somewhere.
This problem isn't available on all domains, some domains do show the right url where other domains show the wrong url. The cache seems to differ per domain, but all domains point to the same node, but have a different outcome. The domain that works seems to request the url every time.
TL:DR
Is it true that the output of a custom url provider is cached in the node somewhere and therefore skips the url provider the second time around (but not always)?
Url provider not always hit
Hi,
We have implemented a custom url provider which determines the url of a specific node type. The same node is linked to from multiple websites in Umbraco RTE's (also multiple domains) and doesn`t always give the right url.
It looks like the url provider isn't called every time we request an url, as the url returned is for another website. We do not cache the output of the url provider, and validated if the url provider was called every time (which it wasn't). It seems like Umbraco caches the url somewhere.
This problem isn't available on all domains, some domains do show the right url where other domains show the wrong url. The cache seems to differ per domain, but all domains point to the same node, but have a different outcome. The domain that works seems to request the url every time.
TL:DR
Is it true that the output of a custom url provider is cached in the node somewhere and therefore skips the url provider the second time around (but not always)?
is working on a reply...