> 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). Agents can also search and read this documentation through its [MCP server](https://doc.batch.com/~gitbook/mcp).

# Does using Batch web SDK impact my web performance?

Our JavaScript tag can be integrated into your pages with close to no impact on your website speed and loading time.

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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
