Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Page loading sooo long with Activity on Frontpage

  • MaGic2305
  • MaGic2305
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: 0
9 years 2 months ago #268975 by MaGic2305
Hello,

iam having the module Activity on my frontpage to display various Activity to Logged in Users. (iam displaying 3)

While iam logged out the page loads very fast.

With login it doesnt.

What can i do to the component instead of disableing other thigs to get the page loading a bit faster.

On joining myProfile page i have the same problem. :dry:

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
9 years 2 months ago - 9 years 2 months ago #269003 by krileon
Having no issues with CB Activity performance. The rewrite specifically addresses such performance issues. I guess if you've a ton of videos shared it could take awhile loading them as they'll all start buffering.

If you've Joomla debug mode enabled then you page load times will increase by like 3x as it's extremely slow.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 9 years 2 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • MaGic2305
  • MaGic2305
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: 0
9 years 2 months ago #269079 by MaGic2305
Hey Kyle,

can you please have a look at my website? The problem is only there after log in to the cb module. Please try the site first without log in and then log in to the site, it will load about 13 - 15 seconds.

I used firebug to look up but i do not find the

Can i send you a pm with user login data and superadmin rights?

That would be very cool..

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
9 years 2 months ago - 9 years 2 months ago #269080 by krileon
CB Activity isn't even on your home page. It can't possibly contribute to page load times if it's not even loaded. Your home page is taking 10-13s to load. You've about 8-9 failed HTTP requests to either files or URLs that don't exist, all of them will slow page load as the browser will wait for the request to timeout. Your slowdown appears to be coming from whatever is using "embed-player-new".

You also have multiple large images (400kb+) loading on every page load on a regular bases (appears to be your logos), which can likely be compressed down to 100kb or less to further speed up load times.

Navigating directly to CB Activity recent activity page as follows is still taking 10-13s to load.

index.php?option=com_comprofiler&view=pluginclass&plugin=cbactivity&action=recentactivity

Again, the slowdown on CBs recent activity page is from the above explained reasons. It appears cloudflare is trying to load Google analytics and failing, which is taking roughly 430ms of time. Rocket.js is then trying to load analytics.js and failing, which is taking roughly 1050ms of time. That's 1.48s of time lost due to 2 files not loading.

Joomla it self (no matter the page) appears to take roughly 10s to process everything based off everything installed and being loaded on your various pages. You have some optimization issues, but nothing specific to CB Activity.

Enable Debug Mode in Joomla global configuration to help with debugging page and query performance. CB Activity is highly optimized with 10,000 activity rows taking only 2.3ms on average to parse with further optimizations coming with later releases.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 9 years 2 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • MaGic2305
  • MaGic2305
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: 0
9 years 2 months ago #269081 by MaGic2305
Thank you for your fast response and detailed Information. While you were on the Homepage i deactivated activity in frontend.

I am sorry that i said the problem was causing from CB. Somehow its crazy how the things went in the last days. Everything was okay till one moment and i dont know where it comes from.

I try to update the things you told me.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
9 years 2 months ago #269082 by krileon
Debug mode should help find any poor query performance, but to find PHP performance issues you would really need xDebug and its profiler. The alternative is to enable/disable things 1 by 1 until performance improves. If you're using one of those Joomla templates with a framework though you'll lose a good chunk of performance as they tend to be pretty slow.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum