Articles on: Features

Auto-Refresh 🔄

Auto-Refresh allows refreshing your Newspage or Widget(s) content automatically. The feature is enabled by default on paid plans.

Let's say you are using a Noticeable widget on your pages. A user comes on your page, see what's new and keeps the page opened in a browser tab for hours or days. In the meantime, you publish a new publication. Some time after your publication the user clicks back on the browser tab that contains your page. What will happen?

With Auto-refresh the user gets notified about your new publication. Without Auto-Refresh the user will not get notified about your new publication: a manual and explicit page refresh from the user is required.

Note that a Newspage refresh counts as a new page view in Analytics. If you prefer to disable the feature due to this, or for another technical reason, we offer an option in Newspages and Widgets settings.

Managing Auto-Refresh on Newspages



Open the Noticeable dashboard.
Click on Newspage on the left navigation.
Scroll down to the Customization settings group and click on it.
Toggle the switch button entitled Auto-refresh pages.



Managing Auto-Refresh on Widgets



Open the Noticeable dashboard.
Select Widgets on the left navigation.
Click on your Widget title. This opens the Noticeable live widget editor.
On the right navigation menu, Toggle the switch button entitled Auto-refresh under General settings.



How Does Auto-Refresh Work?



Currently, WebSockets are not an option for us. Instead, we rely on active browser tab detection for both Newspages and Widgets, supplemented by periodic polling for Widgets.

Newspages


For Newspages with auto-refresh enabled:

When a user opens a Noticeable Newspage in browser tab A, the page content is loaded.
If the user switches to another browser tab (e.g., tab B) without closing tab A, and then returns to tab A, the Newspage content is automatically refreshed to ensure it remains up-to-date.

Widgets


Widgets use periodic polling to check for updates when displayed on a page in an active browser tab:

Polling behavior: While the browser tab displaying a page with a widget remains active, the widget performs regular polling based on your subscription plan.
Tab switching: Polling is paused when the user switches to another browser tab. It resumes automatically when the user returns to the tab containing the widget.
Performance optimization: All requests from Noticeable widgets are routed through a global CDN to ensure minimal latency and optimal performance worldwide.

The interval between requests depends on the subscription plan you are on:

PlanRefresh period
Freedisabled
Starter90 seconds
Growth60 seconds
Business30 seconds
Enterprise15 seconds (custom on request)

Updated on: 11/26/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!