looks like all timing depends on Ditto snipet
with ditto disabled timing is ~500ms
how can i migrate from ditto to getresource ?
-
MODX Staff
- 12,272 Posts
As you rightly identified, HTML comments do not break the snippet calls; they’re still executed. getResources is very similar to Ditto. Just have a peek at the params and I bet you figure it out quickly, and make sure to cache your call if at all possible.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me