• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Other Can You Install TOO MANY Addons? Will It Break Xenforo Or Slow It Down?

Deepmartini

Well-known member
#1
I see a lot of great addons that I want to use, but I am curious if there is a limit or if having too many installed on my site would slow it down or break it. What is the maximum amount I can have before things get complicated. How many are you using on your site?
 

cclaerhout

Well-known member
#2
On one of my website I'm using 39-40 addons without any problems, but it's a small board.
The only problem I've meet in using too much addons was the one cause but the Suhosin extentsion (see here - Jake found the problem very quickly).

Now I think the coding part is important. For the templates listeners, the best thing would be to avoid them as much as possible thanks to Templates Modification System. All the modifications are done once in the admin side before to be cached, then it has no consequences on the users side.

I'm really not a specialist about optimization but what I know is when I started with XenForo and I wanted for example to call the XenForo Options object I did it once at the top of my callback and outside the conditional... which means the object was called for each hooks (or templates). So now, I prefer to call it inside the conditional for each hook. I'm not sure it has an influence but it seems better. An experimented coder might have the answer.
 

Deepmartini

Well-known member
#4
On one of my website I'm using 39-40 addons without any problems, but it's a small board.
The only problem I've meet in using too much addons was the one cause but the Suhosin extentsion (see here - Jake found the problem very quickly).

Now I think the coding part is important. For the templates listeners, the best thing would be to avoid them as much as possible thanks to Templates Modification System. All the modifications are done once in the admin side before to be cached, then it has no consequences on the users side.

I'm really not a specialist about optimization but what I know is when I started with XenForo and I wanted for example to call the XenForo Options object I did it once at the top of my callback and outside the conditional... which means the object was called for each hooks (or templates). So now, I prefer to call it inside the conditional for each hook. I'm not sure it has an influence but it seems better. An experimented coder might have the answer.
I know with vbulletin things really started to crawl. Same thing with Wordpress and too many plugins. Bogs down the database, extra queries, things loading, potential for conflicts between addons, things not coded cleanly, etc. Nice to hear Xenforo avoids much of this.