> For the complete documentation index, see [llms.txt](https://help.appplaza.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.appplaza.app/speed-optimizer/speed-up/preconnect.md).

# 🔌 Preconnect

{% hint style="info" %}

### Who can use this feature?

Preconnect is available on the **Pro** and **Expert** plans.
{% endhint %}

### What is Preconnect?

Every external resource on your store (a Google font, a third-party app script, an image CDN) needs a handshake before it can load. That handshake takes time.

Preconnect tells the browser to do those handshakes early, in the background. By the time the file is actually needed, the line is already open. It's especially helpful on mobile, where every millisecond of network setup matters.

### Why use Preconnect?

* **Faster external resources** — fonts, CDNs, and app scripts start loading sooner because the connection is already open.
* **Big mobile win** — saves network setup time where it matters most, on slower mobile connections.
* **Better Core Web Vitals** — earlier resource loading improves perceived speed and LCP.
* **Set and forget** — turn it on once and apply; the connection hints are added automatically.

#### ⚙️ How to use Preconnect

#### Step 1: Open Self-optimize

Go to **Speed up → Self-optimize**.

*\[Screenshot: Speed up page with Self-optimize tab open]*

#### Step 2: Turn on Preconnect

Turn on **Preconnect**.

*\[Screenshot: Preconnect toggle switched on]*

#### Step 3: Apply to your theme

Click **Speed up now** and pick a theme to apply changes.

*\[Screenshot: Speed up now button and theme selection modal]*

#### Step 4: Verify it's working

To check it's working, view your store's page source — you should see `<link rel="preconnect">` tags near the top.

*\[Screenshot: page source showing preconnect link tags]*

### 📌 Merchant Notes

* Always click **Speed up now** after turning this on to apply the changes.
* Preconnect helps most when your store loads resources from **external domains** (fonts, CDNs, third-party apps).
* The benefit is most noticeable on **mobile** and slower connections.
* This feature requires the **Pro** or **Expert** plan.
* For an overview of all optimization features, see **Speed up**.

Contact us in live chat if you have any problems.


---

# 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:

```
GET https://help.appplaza.app/speed-optimizer/speed-up/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.
