We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17499 ☆ A M B ☆
    • 872 Posts
    Hello,

    When i use the "onLoadWebDocument" event, i can access the content field with $modx->resource->content.
    However, is it possible to to know if the resource has been retreived from cache ?

    Example: The plugin GeSHI retreive the document at first and parse it.
    But on second load on the same cached document, the <pre> are already treated and i don’t want it to be parsed a second, third, etc... times.