# Preconnect

{% hint style="info" %}
**Who can use this feature?**\
This feature is available on the **Enterprise plan**.
{% endhint %}

### What is Preconnect?

Preconnect is a speed optimization feature that allows the browser to establish early network connections to external domains — such as CDNs, fonts, APIs, or image servers — *before* they are actually needed.\
By setting up these connections in advance, the browser skips DNS lookups, TLS handshakes, and TCP connections during the actual page load, resulting in a smoother experience for your customers.

### Why Preconnect?

Preconnect improves your store performance by:

* Reducing loading time for third-party resources
* Improving Time to First Byte (TTFB) and First Contentful Paint (FCP)
* Creating faster, more responsive pages — especially on mobile
* Enhancing overall **Core Web Vitals**

### 🎮 Try it in action

First, let's have an intereactive demo to see how it works:

{% embed url="<https://app.arcade.software/share/Nuz6CtBBe0TeUwW54yYJ>" %}

### ⚙️ How to Set Up Preconnect

1. Go to **Speed Up > Custom > Settings**
2. Turn on **Preconnect**
3. Go back to **Speed Up Now**, select the theme you want to optimize, and click to apply changes
4. To verify:
   * Search for the file `avada-seo-preconnect.liquid` in your theme code
   * View your storefront → right-click > View Page Source → check for `<link rel="preconnect">` tags


---

# 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.avada.io/seo-suite-help-center/site-speed-up/speed-up-custom-mode/preconnect.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.
