# Stat Banner

**URL:** <https://meta.discourse.org/t/stat-banner/283177>\
**Category:** Theme component\
**Tags:** official, stat-banner\
**Created:** [October 23, 2023, 9:52pm UTC](https://meta.discourse.org/t/stat-banner/283177 "2023-10-23T21:52:45Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [October 27, 2023, 2:18pm UTC](https://meta.discourse.org/t/stat-banner/283177/9 "2023-10-27T14:18:08Z")

</div>

The stats are pulled from the about page, they use the same data from the table at the bottom of that page:

 ![Screenshot 2023-10-27 at 10.11.47 AM](https://global.discourse-cdn.com/meta/original/4X/a/b/a/abab18fc7cf4f5b18fb3d77eb52e1e8877abd805.png)

The data in the banner is refreshed based on the lowest stat period, from the time that the user first saw the banner.

So for example, if you have the banner configured with stats from the last day, after you initially see the banner it will refresh its data in 24 hours. If the banner is configured to show only stats from the last month, the data will refresh a month after you first viewed it (or if you clear your browser localStorage).

It was implemented this way to reduce the number of requests made, so rather than show updated stats every time the banner is viewed, they’re cached in the browser’s localStorage.

> [@Aaron\_Walsh](#):
>
> **javascript** : These settings were added. Please remove them and try again.

This editor is only for editing existing settings, you can not add new ones (or javascript) here at all.

If you’re looking for this banner to update more often, I could add a new setting that will disable caching.

---

_[View the full topic](https://meta.discourse.org/t/stat-banner/283177)._
