# Step 3: Optimize



1. Go to the webflow [***dashboard***](https://webflow.com/dashboard).
2. Go to &#x2A;*`Project Section`*&#x2A; > &#x2A;*`Custom Code`**.
3. Add the following code in the *Start of &#x2A;*`<head>`** tag* section.

```html
<!-- Speed up connections to forms.withsurface.com by performing early DNS resolution and TCP handshake -->
<link rel="dns-prefetch" href="https://forms.withsurface.com">
<link rel="preconnect" href="https://forms.withsurface.com" crossorigin>

<!--  Fetch the form in advance, so it's ready when a user opens it. -->
<link rel="prefetch" href="REPLACE ME WITH FORM URL" as="document">
```

<Info>
  Replace `REPLACE ME WITH FORM URL` with a Surface Form URL.
</Info>
