# Does using Batch web SDK impact my web performance?

The [Batch Web SDK](https://doc.batch.com/developer/sdk/web/getting-started/batch-service-worker) is built to minimize the impact on web performance and we are closely following web performance best practices.

Our JavaScript tags are using the HTML script `async` attribute meaning that adding Batch to your website can't block other scripts or affect your page speed negatively.&#x20;

External resources are loaded with gzip enabled and we are using long-time caching policies when it's possible.

Finally, you can load the [Batch Web SDK](https://doc.batch.com/developer/sdk/web/getting-started/batch-service-worker) as early as possible in your code to trigger the opt-in consent alert or Batch custom opt-in UIs sooner, use Batch at the very bottom of your page (before the closing `</body>` tag) or load our SDK through a tag manager.

If you need to discuss in greater detail how to optimize web performance when using the Batch web push technology please contact our technical support team at <support@batch.com> or via our live chat system.


---

# 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://doc.batch.com/getting-started/other/faq/does-using-batch-web-sdk-impact-my-web-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.
