# Dns prefetch in Foundation?

**URL:** <https://forums.realmacsoftware.com/t/dns-prefetch-in-foundation/20550>\
**Category:** RapidWeaver Classic\
**Created:** [June 6, 2018, 4:42pm UTC](https://forums.realmacsoftware.com/t/dns-prefetch-in-foundation/20550 "2018-06-06T16:42:52Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![therealmf](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/therealmf/32/179_2.png) [@therealmf](https://forums.realmacsoftware.com/u/therealmf)\
**Post date:** [June 6, 2018, 4:42pm UTC](https://forums.realmacsoftware.com/t/dns-prefetch-in-foundation/20550/1 "2018-06-06T16:42:52Z")

</div>

I am trying to localize my Google webfonts in a website and have discovered a line of code that I can’t seem to get rid of:

The site is built using Foundation. The code seems to appear in the area usually reserved for the plugin code.  
Can anybody help me identify the origin and how to get rid of it?  
Oh, and by the way: it seems I can not post to weaver.space anymore, looks like it would be closed for new posts (yes, I am logged in). Can anybody confirm that? Thx!

---

<div class="post-metadata">

**Author:** ![jabostick](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jabostick/32/1760_2.png) [@jabostick](https://forums.realmacsoftware.com/u/jabostick)\
**Post date:** [June 6, 2018, 4:51pm UTC](https://forums.realmacsoftware.com/t/dns-prefetch-in-foundation/20550/2 "2018-06-06T16:51:04Z")

</div>

I just tried at WS and it works. Sometimes I need to refresh the browser for that new post window to show up

---

<div class="post-metadata">

**Author:** ![joeworkman](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joeworkman/32/23780_2.png) [@joeworkman](https://forums.realmacsoftware.com/u/joeworkman)\
**Post date:** [June 6, 2018, 4:54pm UTC](https://forums.realmacsoftware.com/t/dns-prefetch-in-foundation/20550/3 "2018-06-06T16:54:24Z")

</div>

Foundation does not add any prefetch tags. Font Pro does though.

(I am looking into why the new post field does not always show. As Jason says, refresh always fixes it)

---

<div class="post-metadata">

**Author:** ![therealmf](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/therealmf/32/179_2.png) [@therealmf](https://forums.realmacsoftware.com/u/therealmf)\
**Post date:** [June 6, 2018, 5:00pm UTC](https://forums.realmacsoftware.com/t/dns-prefetch-in-foundation/20550/4 "2018-06-06T17:00:30Z")

</div>

thanks Joe. I do use FontPro, but with just a self-hosted font (see screenshot). Can I disable the call to the Google Font server?

 ![screen](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/b/ba092bcb0a63d6bf738f71a741dd28cd9f7e02bc.jpg)

---

<div class="post-metadata">

**Author:** ![joeworkman](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joeworkman/32/23780_2.png) [@joeworkman](https://forums.realmacsoftware.com/u/joeworkman)\
**Post date:** [June 6, 2018, 5:13pm UTC](https://forums.realmacsoftware.com/t/dns-prefetch-in-foundation/20550/5 "2018-06-06T17:13:41Z")

</div>

Font Pro only does it if you are using the Google Fonts stack.

---

<div class="post-metadata">

**Author:** ![therealmf](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/therealmf/32/179_2.png) [@therealmf](https://forums.realmacsoftware.com/u/therealmf)\
**Post date:** [June 6, 2018, 5:34pm UTC](https://forums.realmacsoftware.com/t/dns-prefetch-in-foundation/20550/6 "2018-06-06T17:34:55Z")

</div>

Seems not to be so: I have deleted the entire FontPro stack and rebuilt it from scratch, to avoid any left-over parts of code. And look to the two screenshots: the edit window shows it is only a webfont, not a GoogleFont - but in the source code the prefetch line does appear.  
Am I missing something?

 ![my%20Font%20Pro%20Setting](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/6/61aeae9b40fa744243f787dd90f620480cc8b48f.jpg) ![sourcecode](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/8/804a38657f7fdb2c6d7049c3367cfa74b3863e4d.jpg)

---

<div class="post-metadata">

**Author:** ![therealmf](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/therealmf/32/179_2.png) [@therealmf](https://forums.realmacsoftware.com/u/therealmf)\
**Post date:** [June 7, 2018, 3:27am UTC](https://forums.realmacsoftware.com/t/dns-prefetch-in-foundation/20550/7 "2018-06-07T03:27:26Z")

</div>

@joeworkman can you take a look at this please?

---

<div class="post-metadata">

**Author:** ![joeworkman](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joeworkman/32/23780_2.png) [@joeworkman](https://forums.realmacsoftware.com/u/joeworkman)\
**Post date:** [June 7, 2018, 5:29am UTC](https://forums.realmacsoftware.com/t/dns-prefetch-in-foundation/20550/8 "2018-06-07T05:29:10Z")

</div>

I built a simple page with just Font Pro + Web Font and Site Styles. This does not happen to me. Did you add it to your page inspector somehow? Or the site wide code area?

 ![06%20PM](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/d/d5d1e68e539627c6d3c626da5d8b2f5f62f44fbe.png)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [July 7, 2018, 3:37pm UTC](https://forums.realmacsoftware.com/t/dns-prefetch-in-foundation/20550/9 "2018-07-07T15:37:17Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
