-
☆ 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.