I'm using this module, and it's great and easy to setup, does exactly what it says. However, after a bit of bug tracing I discovered this is the reason the page I use it on runs very slow.

Basically I have list of people with contact details (inc Skype), whenever you click this link it takes ages to do anything, then eventually loads.

Obviously this is down to checking so many skype IDs status. Is there a way instead this process can run after the rest of the page has loaded, so the page loads instantly then eventually updates as it checks each skype name?

thanks
Sam

Comments

nicholas.alipaz’s picture

This is certainly an issue with scaling and I think it should be taken into consideration for the next release. I don't currently have time to delve into the issue, but patches would definitely be considered in fixing this issue.

--
Los Angeles Web Design and development for Drupal.

ianchan’s picture

subscribe

nicholas.alipaz’s picture

I thought more about this recently and the best solution would be a simple ajax call to an implementation of hook_menu() and then print out the code. That way the page loads fine.

I am thinking maybe a spinner for each user whose status has still not been obtained. The spinners would likely need to be the same size as the status icons so as not to cause jumpiness.

nicholas.alipaz’s picture

Assigned: Unassigned » nicholas.alipaz
Status: Active » Needs review

I worked out this issue and committed to git repo today. Would be nice if some folks would test. Use git checkout or grab the dev release when it updates.

I now have it set to do an ajax call for the status after the page is already loaded. This means that anyone without js will just get simple skype ID's linked to call or chat links. This should scale much better.

Once tested I can release new version.