Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Deane 14 posts 54 karma points
    Mar 14, 2011 @ 17:27
    Deane
    0

    Is the raw XML cache available from the API?

    Is it possible to run manual XPath on the XML cache?  I don't want to do this in the context of an XSLT -- I want to query using an XDocument or XmlDocument from C#.

    I know the entire repository is cached in "umbraco.config," but I have to assume that document is also in memory somewhere, and available to query with XPath?

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Mar 14, 2011 @ 17:36
    Hendy Racher
    1

    Hi Deane,

    Yes it's available:

    umbraco.content.Instance.XmlContent

    HTH,

    Hendy

  • Deane 14 posts 54 karma points
    Mar 14, 2011 @ 18:23
    Deane
    0

    Thanks -- that's exactly what I was looking for.

    Tell me -- what's the upper limit on this cache?  If I have an install with 250,000 objects, does it still keep the entire parsed document in cache, all the time?

Please Sign in or register to post replies

Write your reply to:

Draft