We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40706
    • 128 Posts
    Quote from: BobRay at Feb 16, 2013, 01:00 AM
    It sounds like you're agreeing with me. What I said (or meant to say) was that if you get a fresh object from the DB (by bypassing the cache), the cache won't be updated.

    The cache will be updated on save, as long as you dont pass $cacheFlag false to the save() function
      • 3749
      • 24,544 Posts
      Quote from: opengeek at Feb 16, 2013, 06:49 AM
      If you are getting the object with a parameter for a specific caching action, why can't you call save with a different one?

      Fair enough. I can't think of a real-world case where that wouldn't do the job.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting