Ajax Shoutbox

How do you stop shoutbox from refreshing every few seconds? - Ajax Shoutbox

How do you stop shoutbox from refreshing every few seconds?

by WWu777 » Mon Jun 01, 2020 1:47 pm

One of my forum members complained about this:
Why does your shoutbox refresh every 5 seconds, it's not a chatroom so that is wasteful use of bandwidth and will cause slowdown on people with slow machines. Make it refresh only once every page load if you can, or every min
Is that true? I do see it spinning a lot at the top of the forum. Is it refreshing constantly even when new chats aren't being posted there? If so, why? Doesn't that slow down the forum? If so, how can you turn that off and only refresh when new messages are posted there?
WWu777
Registered User
Posts: 788
Joined: Tue Aug 14, 2007 12:40 pm
Contact:

Re: How do you stop shoutbox from refreshing every few secon

by Paul » Mon Jun 01, 2020 1:49 pm

You can turn it of by disabling the extension. It will need to refresh in need to know if there are new messages.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 26346
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact: