Topic-icon Duplicated Query to #_jfbconnect_config detected in Joomla! debug

Active Subscriptions:

None
My Joomla! site performance is very poor. To enhance it I'm analyzing the debuging console output, where queries to db are an important part. It is there where Joomla! warns about some duplicated queries. There are two of them that regards to JFBCONNECT.

The first one is: SELECT value FROM #_jfbconnect_config WHERE setting="profile_joomla"
The second one is: SELECT value FROM #_jfbconnect_config WHERE setting="profile_kunena"

They both are duplicated.

I wonder how could I avoid that duplication.

Another question is about the fact that both joomla and kunena profiles are operative. Does it impact on performance?

Thank you in advance for your help.
The topic has been locked.
Support Specialist
Performance is something that we're always looking to improve and there are a ton of performance optimizations in JFBConnect. I'm honestly not sure off-hand why those two queries are duplicated. They shouldn't be. However, the jfbconnect_config table should have less than about 100 rows and those queries should execute in well under 1ms times. While we will look into why the query is happening twice, you won't see any change in speed after the 'extra' one is removed.

As for having both enabled, there should be minimal impact on performance overall. Having one more plugin enabled does add a little to Joomla's loading time as it has to instantiate the plugin, execute some code and keep it in memory during the page rendering. Our profile plugins do very little on every page load though and most of their heft only gets used during the login or registration process. During authentication, they will add anywhere from .2s-1s or so per plugin to interact with the social network, pull avatars, etc.

In general, if there's a plugin or module you're not using, disable it. It's good for performance and security.

I hope that helps explain,
Alex
The topic has been locked.