We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8323
    • 14 Posts
    Dear MODx community,

    I have recently updated installation of MODx from 2.0.7 to 2.1.5 and week later to 2.2.0 pl2 (today).

    Everything seemed to be running as it should until I tried to change content.
    Any change to Resources isn't reflected on the site until I clear cache manually. That's true for both different addons (Wayfinder - duplicated root level resource doesn't show up in navigation before clearing the cache) and even simplest
    [[*content]]


    Of course I need to have it fixed. I have tried to re-install everything completely but at the minute I have imported old database it came back (I have removed connectors, core, manager directories completely
    There are no errors in the log.
    Disabling global caching 'fixes' the issue.

    Any ideas?

    Thank you,
    Greg [ed. note: dzes last edited this post 14 years, 9 months ago.]
      • 22303 MODX Staff
      • 10,725 Posts
      Try setting
      &cacheResults=`0`
      for Wayfinder and see if that solves your issue.
        • 8323
        • 14 Posts
        I believe it will. I have modified my original post as formatting has eaten content tag.
        Basically, nothing that is cached works.

        While I can live with Wayfinder not being cached I don't think that's reasonable for content on every page.
          • 22303 MODX Staff
          • 10,725 Posts
          The Wayfinder cacheResults property does not prevent caching of Wayfinder calls; it is an internal option that seems to cache results internally per user for use when you have personalized menus that cannot be cached generally.
            • 8323
            • 14 Posts
            Ok. I've tried adding cacheResults = 0 to Wayfinder call and it doesn't change a thing. Without manually clearing a cache no new item, item with changed name etc. show up in the navigation.
            However - navigation is modified once a month or even less often so it's not a big deal.

            My concern is that template variables (including content) can't be edited without a hassle.

            Any ideas?

            By the way, thank you Jason.