> For the complete documentation index, see [llms.txt](https://doc.batch.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.batch.com/getting-started/other/faq/does-using-batch-web-sdk-impact-my-web-performance.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://doc.batch.com/getting-started/other/faq/does-using-batch-web-sdk-impact-my-web-performance.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
