We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25663 MODX Staff
    • 12,272 Posts
    I like the cache disable call too. So Raymond, we’ll count that asnother "loose it!" vote, unless told otherwise. wink
      Ryan Thrash, MODX Co-Founder
      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • 1764
      • 680 Posts
      Count me in as a "loser" tongue
        • 32963
        • 1,732 Posts

        Yes, I’m for not using the [!!] idea.

        The developer is the one who should determine the caching state of the snippet. Snippets such as menu, <form>s and others will not function properly if they are cached. The solution to this problem is to either disable page caching or use [!!] which is not a good idea (due to limited knowledge) in some cases.

        Other tags such as placeholders and system settings needs to also be addressed.


          xWisdom
          www.xwisdomhtml.com
          The fear of the Lord is the beginning of wisdom:
          MODx Co-Founder - Create and do more with less.
          • 6726
          • 7,075 Posts
          Technically, the whole discussion is well beyond my reach... but I can tell you how this was implemented in Textpattern, or more precisely with a plugin called zem_cache.

          I don’t know the inner workings, but as a designer you just decide what part of your template you want cached and which part you don’t want cached : you juste wrap the part of the page you want to cache with a <txp:zem_cache> tag smiley

          This is truly powerful, and maybe browsing through the plugin’s code could help you there, I don’t know if this is a dumb idea but I thought I’d share...

          FYI : Textpattern’s plugins are base64 encoded.
            .: COO - Commerce Guys - Community Driven Innovation :.


            MODx est l&#39;outil id
            • 32963
            • 1,732 Posts
            Quote from: davidm at Nov 17, 2005, 03:14 AM

            Technically, the whole discussion is well beyond my reach... but I can tell you how this was implemented in Textpattern, or more precisely with a plugin called zem_cache.

            I don’t know the inner workings, but as a designer you just decide what part of your template you want cached and which part you don’t want cached : you juste wrap the part of the page you want to cache with a <txp:zem_cache> tag smiley

            This is truly powerful, and maybe browsing through the plugin’s code could help you there, I don’t know if this is a dumb idea but I thought I’d share...

            FYI : Textpattern’s plugins are base64 encoded.


            Hi David,

            If I remember correctly we that was something that was on the to-do list. I think it was called Hotspots or non-cache block, can’t remember.

            Thanks for the information. I think this will certainly help to solve some of the problems that now exists.

              xWisdom
              www.xwisdomhtml.com
              The fear of the Lord is the beginning of wisdom:
              MODx Co-Founder - Create and do more with less.
              • 6726
              • 7,075 Posts
              Ooops, still quite a newbie around here, didn’t know there was something similar planned huh

              Anyway, this is good news, I find this very pratical in every day design laugh
                .: COO - Commerce Guys - Community Driven Innovation :.


                MODx est l&#39;outil id
                • 32963
                • 1,732 Posts
                Quote from: davidm at Nov 17, 2005, 09:42 AM

                Ooops, still quite a newbie around here, didn’t know there was something similar planned huh

                Anyway, this is good news, I find this very pratical in every day design laugh

                Yeah, It’s also good to post your ideas and these can help in many many ways.
                  xWisdom
                  www.xwisdomhtml.com
                  The fear of the Lord is the beginning of wisdom:
                  MODx Co-Founder - Create and do more with less.