We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22303 MODX Staff
    • 10,725 Posts
    Quote from: PMS at Dec 28, 2007, 03:00 PM

    Please can you tell me what actually happens when I put a cacheable snippet call within a non-cacheable snippet though? Does anything get cached?
    Nope, nothing will be cached, since in order to be cached it would have to appear in something that was parsed before the non-cacheable passes begin. Once parsing is delayed to this point via the highest level non-cacheable tags, i.e. [! !], no further content is processed for storage in the cache.
      • 22851
      • 805 Posts
      Okay. That’s good, because that’s the behaviour I expected.

      I don’t remember reading anything in the documentation about the current restriction on the nesting of like brackets (although I could have missed it quite easily.) If it’s not there, then it would definitely be worth adding a couple of sentences on it, because it’s very useful to know and could save some other people some headaches.

      Thanks for your help.

      Paul
        YAMS: Yet Another Multilingual Solution for MODx
        YAMS Forums | Latest: YAMS 1.1.9 | YAMS Documentation
        Please consider donating if you appreciate the time and effort spent developing and supporting YAMS.