Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
popup notifications are very unresponsive, laggy
jitesh_t
New
Hi,
First of all, thank you for this nice Vanilla Forum.
I am using Vanilla version 2.5.1 with Jsconnect plugin.
During a conversation, when any sender messages me, I got popup notifications which are very slow, unresponsive many times.
I have to refresh my browser to view notifications sometimes but that's not an idle solution for users. I don't know what happens in the background.
Basically, I need accurate and fast popup notification if possible.
Please help me to resolve this issue.After this issue, our system will be in very good shape.
Thank you in advance.
0
Comments
Any kind of reply will be greatly helpful.Thank you.
nobody this kind problem with the vanilla forum?
That is not a problem, that's just the way notifications are implemented.
When you want to implement notifications you basically have two options:
1.) Client side:
Run a JavaScript in the browser that queries for new notifications in an infinite loop.
Pros: easy to implement, quite robust
Cons: causes a high impact on the server when too many queries happen
2.) Server side:
Web push notifications
Pros: resource friendly
Cons: doesn't work with every browser, difficult to implement, requires either an external service or a server with SSH and some kind of queuing on the server
Vanilla uses the first variant:
If you like to, you can change file /js/global.js and reduce the interval but be aware that this might have a bad impact on your servers overall performance.
You can also try to implement the second variant, but that would require some skills...