Hello guys,
I was not aware of the speed problem in Hierarchy::Children() that Gordon mentioned in his notes about speed:
3) Traversing the SiteTree is expensive when rendering menus, with multiple repeated queries, for the gory details see https://github.com/silverstripe/silverstripe-framework/issues/2979 - note a technique to identify repeated SQL queries is included here.
Could you kindly elaborate on SiteTree permissions CanViewType and CanEditType. When do you use them?
We produce content for the public and it does not make sense to make it NOT visible to anyone. Probably this functionality may be moved into extension and disabled in yaml config by end users?
This way many sites will get performance boost out of the box.
Gregory
--
You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to silverstripe-d...@googlegroups.com.
To post to this group, send email to silverst...@googlegroups.com.
Visit this group at http://groups.google.com/group/silverstripe-dev.
For more options, visit https://groups.google.com/d/optout.