Why does this snippet have to be called uncached in a cached page?
Page Content
[[CacheTest]]
<p>[[+ph1]]</p>
<p>[[+ph2]]</p>
Snippet
<?php
$modx->setPlaceholder('ph1','Placeholder1');
$modx->setPlaceholder('ph2','Placeholder2');
If the snippet and the page are cached, there’s no output at all on reloading the page. I could swear that this wasn’t the case in earlier releases, but maybe I’m misremembering.
(This is Revo 1.0.6-pl2)
Do all snippets that set placeholders have to be uncached or in an uncached page?