> we're right now working on a complete refactoring of the rules, but I > think it's important to give more information to theme developers about how > complex sites performance could be affected by Diazo and what are the best > practices do deal with this. > > > >From XSLT work it did many many many years ago there was one golden rule:
Never user //tag selector It traverses the whole document, every tag and is slow as hell. Always try to find id based selectors, or very accurate selectors. Also make sure whether there is difference if XPath selectors are evaluated from left to right or right to left. CSS is right to left, but I am not sure about XPath.
_______________________________________________ Setup mailing list [email protected] https://lists.plone.org/mailman/listinfo/plone-setup
