I'm currently in the process of planning out the information architecture for a pretty large site (my first large Umrbaco site.) The way I'm planning it at the moment would makes pretty heavy use of partials & macros. I'm wondering if performance will become an issue if there are 20-30 macro calls per page?
Little more detail
Each section of the site will have a Content Blocks folder which will contain the data for each partial (e.g. a FAQs widget). In the RTE editors will insert a macro - "Content Block". The macro will consist of one content picker parameter from which they'll select a content node in the Content Blocks folder.
The Content Block macro script will work as a controller to load another partial view dependant on the docType of the selected content block node.
So, if someone has 10 Content Block macros inserted into the page, that's really 20 partial view calls.
Performance - Partial View Macros
I'm currently in the process of planning out the information architecture for a pretty large site (my first large Umrbaco site.) The way I'm planning it at the moment would makes pretty heavy use of partials & macros. I'm wondering if performance will become an issue if there are 20-30 macro calls per page?
Little more detail
Each section of the site will have a Content Blocks folder which will contain the data for each partial (e.g. a FAQs widget). In the RTE editors will insert a macro - "Content Block". The macro will consist of one content picker parameter from which they'll select a content node in the Content Blocks folder.
The Content Block macro script will work as a controller to load another partial view dependant on the docType of the selected content block node.
So, if someone has 10 Content Block macros inserted into the page, that's really 20 partial view calls.
Hope this made sense.
Thanks!
is working on a reply...