I wonder which one is better to use. The IF snippet or generally output filters (in Revo) or PHx in Evo?
I tried to benchmark performance (timings), but can’t really tell..
Does anyone know the difference / which one is faster?
In general, a custom snippet designed for the specific purpose will always be the most efficient. The If snippet would come in second, and an output modifier/PHX solution would be a distant third because of the extra time it takes MODX to parse it.
OK - thanks for reassurance!