[Plugin: Dynamic Widgets] Theme vs plugin based widget loading – Comparison
-
I’d like to continue a subject that came up in this thread.
Apparently Dynamic Widgets way of loading during page rendering is sub-optimal. I understand this is simply a result of a limitation in WordPress, so it’s not meant as a criticism; DW is still excellent for a smallish amount of different widgets displayed under unique conditions.
It seems however that taking the ‘separated sidebar’ route with themes (e.g. having a separate sidebar for posts, for pages, for front-page, for certain templates etc.) is more efficient when dealing with a lot of plugins. Could you be so kind as to confirm and maybe explain this in simple terms?
I see it this way, but I might be wrong (I’m not a developer):
Say I’m using sidebarX for all pages and sidebarY for all posts. When the browser renders the page, it’ll just check which sidebar I’m using, then load all of its associated plugins. In the case of Dynamic Widgets, it would look up every widget associated with the sidebar, then load only the ones that DW “allows”. If a lot of widgets are involved, the first approach will result in much fewer checks, making it the most efficient.
Does that sound about right?
The topic ‘[Plugin: Dynamic Widgets] Theme vs plugin based widget loading – Comparison’ is closed to new replies.