<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 10/27/17 11:18 AM, Cantor, Scott
wrote:</div>
<blockquote type="cite"
cite="mid:22E65CA5-08CE-47B0-8F44-05CA6D20632C@osu.edu">
<blockquote type="cite">
<pre wrap="">I don’t see that in the documentation. I'll poke at the code, or maybe Brent can chime in. On the other hand, isn't reloading
from the local cache not going to do much of what you want except when you are bootstrapping a new system.
</pre>
</blockquote>
<pre wrap="">
Mostly, I imagine so. Maybe Brent did end up dumping the idea and just figured we'd handle it by querying the metadata using an API or something.
</pre>
</blockquote>
<br>
I didn't really dump it, nor explicitly document it. You can
theoretically preload the dynamic providers by simply dropping XML
into the persistent cache (i.e. drop files into directory if using
the disk-based persistent cache). On a (re)load, anything visible
to the cache manager will get loaded, just like entries that were
written to the cache after being dynamically resolved.<br>
<br>
I suppose you would need to be careful about cache key (i.e. file)
naming, as in use the same strategy configured for the runtime
provider (e.g. lower-case hex SHA-1 hash of entityID). Otherwise,
you could have duplicates and I think the one that wins is undefined
(practically it's going to be first-wins or last-wins, can't
remember off-hand).<br>
</body>
</html>