# Performance

### How does Rewind Work Behind the Scenes? &#x20;

The Rewind feature in BetterBugs.io functions using the Document Object Model (DOM) of a website. Rewind captures HTML snapshots of the DOM, which then gets stored in your browser's local storage. These snapshots get updated every two minutes with the latest ones, thereby working in the background to keep your local storage updated with the latest HTML snapshots.&#x20;

If you come across an issue while running your app or a website in the browser and need a video of what just happened, these HTML snapshots are combined to create a screen recording, allowing you to generate a video of the last two minutes of browser activity.&#x20;

{% hint style="success" %}
**Note**: By default, Rewind is auto-disabled for all websites.
{% endhint %}

### What are Performance Considerations while Using Rewind on BetterBugs.io?

Capturing HTML snapshots, saving them to local memory, and updating them regularly are in fact memory-intensive processes for the browser. However, we've made sure there are no performance hiccups in your browser while using the Rewind feature for most websites.&#x20;

But, if you enable Rewind on memory-intensive sites — like those with lots of animations, frequent data updates, or high-volume exchanges such as stock markets and crypto platforms — your browser's performance might be affected due to constant DOM snapshotting.

However, if your system is powerful enough with decent memory capacity, you can use Rewind with minimal performance issues on heavier websites too.

### How to Manually Add a Website for “Rewind” from Extension Settings

To add a website manually to the list of websites with Rewind enabled:

{% stepper %}
{% step %}

#### Open Extension Settings

Open the extension and click the **three vertical dots (⋮)** icon on the top left (just beside the home icon). Now, click "**Extension Settings**".
{% endstep %}

{% step %}

#### Add a Website to Allow For Rewind

Scroll down to the "**Enable Rewind**" section. In the "**Always allow websites**" box, enter the website address or domain and hit "**Add**".
{% endstep %}
{% endstepper %}

Now, the Rewind feature is enabled for the entered website.

{% hint style="info" %}
**Note**: You can enable the "Rewind" feature for **up to three domains/websites**.&#x20;

If you already have three websites in the list using the Rewind features, you’ll have to remove a website from the list of added websites and then add a new one.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.betterbugs.io/product-features/rewind/performance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
