I have site.
It has these settings:
I have page, which has this snippet:
[[!projectList? &page=`[[*id]]` ]]
And property "Cacheable" is unckecked
Snippet do work like this:
$ids = $modx->getChildIds($page, 1);
foreach($ids as $id) {
// get child document and print it
}
Also at this page there is an "add resource" function. User add some text, push "Save", document is creating at server as child of current page (ajax-request), then whole page reloading by JS (document.location.reload() or document.window.reload()).
Reload works. By for some time there are no new documents printed at this page. It’s caching. After some time and reloads documents printed in list and all ok.
But I need, that added content appears at this page after first reload.
What’s wrong?