Quote from: bll0 at Mar 23, 2006, 02:52 PM
How did you notice the performance pitch? Just by looking at the page with your browser? Or is there a good method to test this. And of course, to test it with caching, too.
By caching you think about the checkbox "Enable Caching" in the manager?
lol, I said all that just by loading the page. Actually I never do any benchmark testing yet, considering I don’t have any project that requires this type of class. I just notice the performance from the loading time.
That’s the reason why I always use "I think, I don’t think".
Yes, just called the snippet cached, and check that cache option on the page where the snippet reside. So basically the output will be cached by MODx, without having to parse the snippet again. But this only work if you snippet only required to view 1 code on one page. If you create the snippet to receive querstring and fetch a dynamic code everytime you change the querystring and etc, then it won’t work, because you need to call the snippet uncached