<![CDATA[ Resource not Updated When Chunk or Snippet Updated - Only on New Context - My Forums]]> https://forums.modx.com/thread/?thread=104402 <![CDATA[Resource not Updated When Chunk or Snippet Updated - Only on New Context]]> https://forums.modx.com/thread/104402/resource-not-updated-when-chunk-or-snippet-updated---only-on-new-context#dis-post-561547
If I update a chunk, snippet or template, the resource view that uses the element doesn't reflect the changes.

It does reflect the changes only if I update the resource by clicking Save button. When one resource is updated, other resources in the same context is also updated.

I have tested the exact same chunk or snippet call on a resource of main context and it works. Therefore, it doesn't seem to be related with calling code.

Any ideas what could be the problem. Is there an option that should be ticked in settings for new context?

Thank you

Modx Revo - 2.6.5
Apache - Apache/2.4.6 (CentOS)
PHP/5.4.16
MySQL - 5.5.60]]>
dragona Sep 15, 2018, 07:21 AM https://forums.modx.com/thread/104402/resource-not-updated-when-chunk-or-snippet-updated---only-on-new-context#dis-post-561547
<![CDATA[Re: Resource not Updated When Chunk or Snippet Updated - Only on New Context (Best Answer)]]> https://forums.modx.com/thread/104402/resource-not-updated-when-chunk-or-snippet-updated---only-on-new-context#dis-post-561620 Quote from: BobRay at Sep 18, 2018, 06:11 PM
Have you tested from a different browser where you're not logged in to the Manager?

I found the issue. It was an extra, xFPC - full page caching, causing the issue. After uninstalling it works as expected.

Thank you]]>
dragona Sep 18, 2018, 06:40 PM https://forums.modx.com/thread/104402/resource-not-updated-when-chunk-or-snippet-updated---only-on-new-context#dis-post-561620
<![CDATA[Re: Resource not Updated When Chunk or Snippet Updated - Only on New Context]]> https://forums.modx.com/thread/104402/resource-not-updated-when-chunk-or-snippet-updated---only-on-new-context#dis-post-561616 BobRay Sep 18, 2018, 06:11 PM https://forums.modx.com/thread/104402/resource-not-updated-when-chunk-or-snippet-updated---only-on-new-context#dis-post-561616 <![CDATA[Re: Resource not Updated When Chunk or Snippet Updated - Only on New Context]]> https://forums.modx.com/thread/104402/resource-not-updated-when-chunk-or-snippet-updated---only-on-new-context#dis-post-561600 Quote from: BobRay at Sep 18, 2018, 04:20 AM
Have you tried making the chunks uncached?

[[!$chunkName]]

Yes, tried both the cached and uncached. No issues for the default context. But the new one is not being updated with any of chunk, snippet or template changes.]]>
dragona Sep 18, 2018, 01:15 PM https://forums.modx.com/thread/104402/resource-not-updated-when-chunk-or-snippet-updated---only-on-new-context#dis-post-561600
<![CDATA[Re: Resource not Updated When Chunk or Snippet Updated - Only on New Context]]> https://forums.modx.com/thread/104402/resource-not-updated-when-chunk-or-snippet-updated---only-on-new-context#dis-post-561587
[[!$chunkName]]
]]>
BobRay Sep 18, 2018, 04:20 AM https://forums.modx.com/thread/104402/resource-not-updated-when-chunk-or-snippet-updated---only-on-new-context#dis-post-561587