Improving dotCMS notifications check
I wonder if we can improve the notifications code in order to avoid requests every 5 seconds on every open window:
``javascript // check for new notifications now and every N seconds checkNotifications(); window.setInterval(function(){ checkNotifications(); }, 5000);``
I can think for now in two options:
- Web sockets
- HTML5 Server-Sent Events
Good thoughts Jonathan. I'd vote for websockets that can wrap some lightweight messaging protocol that we can use for multiple purposes, not just notifications. We've needed a channel open to the users browser
This issue has been automatically marked as stale because it has not had activity within the past 90 days. It will be closed in 30 days no further activity occurs. Thank you.