Perhaps one of you who better understands the inner workings of EE and php could answer this for me…
My questions arise from the fact that I’m a “tweak-a-holic”
and could see myself creating and/or installing numerous specialized plugins for my EE site.
I’m wondering about how much processing overhead is created by a plugin simply by virtue of its presence in the plugins folder. Is each plugin fully parsed and loaded into memory every time any page is requested, even if that page doesn’t utilize the plugin?
For example, if I design an output processing plugin that will only be used in 1% of my site’s pages, will that plugin be instantiated for the other 99% of page requests that don’t need it? And if so, would the wasted resources be significant (assuming an average size plugin)?
In such a case, would it be significantly more (or less?) efficient to create a separate php file (stored outside the plugins folder) and use php in entries to include the file and its functions only when needed?
I admit my ignorance around these issues… Is there something about EE or php that, if I understood it, would make the answers to my questions more obvious?
