Fixed Notifications delay

Old Nick

Well-known member
Affected version
XF 2.3 (here)
I have noticed this quite often, most of the time, that notifications in the navigation bar (alerts and DM) are not displayed when I arrive on the forum, I have to navigate on a page (any one) for them to finally appear.

iOS 17.5 / Safari
 
I noticed this as well, earlier today. On 2 boards I'm an admin on and also on here.

For example:
  • You're on the forum's home page.
  • Someone likes one of your posts.
  • You won't get the alert, unless you refresh the page, or navigate to another page.
 
How are you arriving on the forum? Is it from a fresh page load, or is it possible it's from a stale cache (ie. refocusing/restarting the browser/PWA)?
 
I noticed this as well, earlier today. On 2 boards I'm an admin on and also on here.

For example:
  • You're on the forum's home page.
  • Someone likes one of your posts.
  • You won't get the alert, unless you refresh the page, or navigate to another page.
This is the expected behavior, unless I'm misunderstanding. New alerts aren't typically automatically updated in the background, you have to reload the page or perform an AJAX request on the current page for them to be updated.

The original bug report here, as I understand it, is that after opening a page the information is still stale?
 
As I understand it, the issue being reported is that a fresh page load after receiving an alert or conversation is not showing fresh right counter values, emphasis on fresh and after. Let me know if I'm misunderstanding.

Also, does this only happen here or have you experienced it on your own site as well?
 
Really sorry but I have trouble understanding your point. What I report here is for example this morning by opening my browser for the first time and clicking on the XenForo favourite (xenforo.com/community) I arrive at the list of forums and no notification is displayed. As soon as I navigate to a new page or refresh the page, notifications appear.

And, more rare but something that has just happened, the notification (red square with 1 written inside) for your previous answer appeared while I was browsing a new page and then disappeared immediately. By clicking on the bell it appears in the list despite everything.

I didn't notice this on my site.
Sorry for not understanding your words and for barely expressing myself correctly, I was quite bad at English at school... (ah if I had been a little more studious!)
 
No worries, I apologize if I'm making things complicated. I am trying to differentiate your issue from what @Num7 had reported, but the difference is subtle. As I understand it, you are reporting that it doesn't show up when the page first loads (unexpected), while they are reporting that it doesn't show up when the page has already loaded (expected).
 
And, more rare but something that has just happened, the notification (red square with 1 written inside) for your previous answer appeared while I was browsing a new page and then disappeared immediately. By clicking on the bell it appears in the list despite everything.
I do experience this sporadically I have to admit. The alert flags up then disappears almost immediately.
 
How are you arriving on the forum? Is it from a fresh page load, or is it possible it's from a stale cache (ie. refocusing/restarting the browser/PWA)?
I am online 24 hours a day, 365 days a year at xenforo.com. Because I am connected from my mobile phone via the iOS 17.5 operating system. I also connect when I turn on the computer. For me, as described, I receive messages or reactions to my topics when I change the page.
 
Last edited:
I noticed the same thing here in XenForo forum since long time (several months)

For example, and to be specific:
I started my computer, opened the browser and entered XenForo forum by typing the link in the address bar, there are no notifications
Once I clicked on (New posts) button, I noticed there are few notifications!
I tried Chrome, Safari and Edge and all have the same behavior

Maybe it is related to cache settings or Cloudflare?
 
I noticed the same thing here in XenForo forum since long time (several months)

For example, and to be specific:
I started my computer, opened the browser and entered XenForo forum by typing the link in the address bar, there are no notifications
Once I clicked on (New posts) button, I noticed there are few notifications!
I tried Chrome, Safari and Edge and all have the same behavior

Maybe it is related to cache settings or Cloudflare?

In my case, I'm not using Cloudflare.
 
Back
Top Bottom