> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.noticeable.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 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

1. Open the [Noticeable dashboard](https://dashboard.noticeable.io/).
2. Click on **Newspage** on the left navigation.
3. Scroll down to the **Customization** settings group and click on it.
4. Toggle the switch button entitled **Auto-refresh pages**.

![](https://storage.crisp.chat/users/helpdesk/website/55d6234c11240c00/screenshot-from-2024-11-24-00-_dyfu9m.png)

### Managing Auto-Refresh on Widgets

1. Open the [Noticeable dashboard](https://dashboard.noticeable.io/).
2. Select **Widgets** on the left navigation.
3. Click on your Widget title. This opens the Noticeable live widget editor.
4. On the right navigation menu, Toggle the switch button entitled **Auto-refresh** under **General** settings.

![](https://storage.crisp.chat/users/helpdesk/website/55d6234c11240c00/screenshot-from-2024-11-24-00-_f3vl59.png)

### 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:
    
| Plan | Refresh period |
| ---- |
| Free | disabled |
| Starter | 90 seconds |
| Growth | 60 seconds |
| Business | 30 seconds |
| Enterprise | 15 seconds (custom on request) |
