# CDN Change? Netlify CDN or Cloudfront

**URL:** <https://answers.netlify.com/t/cdn-change-netlify-cdn-or-cloudfront/3582>\
**Category:** Support\
**Tags:** asset-optimization, netlify-cdn-adn\
**Created:** [September 18, 2019, 8:12pm UTC](https://answers.netlify.com/t/cdn-change-netlify-cdn-or-cloudfront/3582 "2019-09-18T20:12:15Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![CalebOWolf](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/calebowolf/32/3007_2.png) [@CalebOWolf](https://answers.netlify.com/u/CalebOWolf)\
**Post date:** [September 18, 2019, 8:12pm UTC](https://answers.netlify.com/t/cdn-change-netlify-cdn-or-cloudfront/3582/1 "2019-09-18T20:12:15Z")

</div>

I have been using Netlify for a while now but one of my favoirte features of how Netlify works is that they run their own CDN but recently as my google Webmasters consle has been notifying me about how my content isnt optimized and isnt on a god cdn for people to be using, I had found that this is definetly not netlify because its hosted using cloudfront and not netlifys own cdn.  
Why is this the issue here and why would it be impacting site performance for me  
 ![11%20PM](https://global.discourse-cdn.com/netlify/original/2X/f/f0aaf903fc0f8ec3d9e0d809bd34e4a09ed5a53a.png)

---

<div class="post-metadata">

**Author:** ![luke](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/luke/32/39_2.png) [@luke](https://answers.netlify.com/u/luke)\
**Post date:** [September 20, 2019, 6:43am UTC](https://answers.netlify.com/t/cdn-change-netlify-cdn-or-cloudfront/3582/2 "2019-09-20T06:43:42Z")

</div>

The domain in the screenshot is the domain where any assets which were modified by the asset optimizations in the build settings will be served. If you disable asset optimization in the site build settings, assets will no longer be served from this domain.

Regarding why this is impacting your site performance, that would depend on that impact is. What performance impact are you seeing?

---

<div class="post-metadata">

**Author:** ![CalebOWolf](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/calebowolf/32/3007_2.png) [@CalebOWolf](https://answers.netlify.com/u/CalebOWolf)\
**Post date:** [September 23, 2019, 1:25pm UTC](https://answers.netlify.com/t/cdn-change-netlify-cdn-or-cloudfront/3582/3 "2019-09-23T13:25:55Z")

</div>

50 to 200 ms on impact fo response times for these files

---

<div class="post-metadata">

**Author:** ![luke](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/luke/32/39_2.png) [@luke](https://answers.netlify.com/u/luke)\
**Post date:** [September 24, 2019, 2:30am UTC](https://answers.netlify.com/t/cdn-change-netlify-cdn-or-cloudfront/3582/4 "2019-09-24T02:30:32Z")

</div>

If you believe the site performance would be improved without it, please feel free to disable it. It is an optional service.

After it is disabled, trigger a new deploy (which can also be done in the UI without a new git commit) and only Netlify’s CDN will be used.

---

<div class="post-metadata">

**Author:** ![rochow](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/rochow/32/3098_2.png) [@rochow](https://answers.netlify.com/u/rochow)\
**Post date:** [September 24, 2019, 9:35am UTC](https://answers.netlify.com/t/cdn-change-netlify-cdn-or-cloudfront/3582/5 "2019-09-24T09:35:45Z")

</div>

I’ve got a similar issue. I’ve got one image that loads via Cloudfront.

Everything is turned off aside pretty links: [https://d.pr/i/oVxK3r/Rj3dZa8VhQ](https://d.pr/i/oVxK3r/Rj3dZa8VhQ)

Can it still keep pretty links while not using Cloudfront?

---

<div class="post-metadata">

**Author:** ![CalebOWolf](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/calebowolf/32/3007_2.png) [@CalebOWolf](https://answers.netlify.com/u/CalebOWolf)\
**Post date:** [September 25, 2019, 4:55pm UTC](https://answers.netlify.com/t/cdn-change-netlify-cdn-or-cloudfront/3582/6 "2019-09-25T16:55:28Z")

</div>

Thats what I’m trying to accomplish here too as well, not use cloudfront but other cdn

---

<div class="post-metadata">

**Author:** ![fool](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/fool/32/37_2.png) [@fool](https://answers.netlify.com/u/fool)\
**Post date:** [October 1, 2019, 5:49pm UTC](https://answers.netlify.com/t/cdn-change-netlify-cdn-or-cloudfront/3582/7 "2019-10-01T17:49:17Z")

</div>

Sorry, but any asset optimization enabled including Pretty URL’s will likely cause some assets to end up on cloudfront.

---

<div class="post-metadata">

**Author:** ![fool](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/fool/32/37_2.png) [@fool](https://answers.netlify.com/u/fool)\
**Post date:** [October 1, 2019, 5:50pm UTC](https://answers.netlify.com/t/cdn-change-netlify-cdn-or-cloudfront/3582/8 "2019-10-01T17:50:01Z")

</div>

We don’t specify what CDN’s you can use, @CalebOWolf. The ones we use are our own, and cloudfront. So, this doesn’t seem to be a similar topic to the thread you posted in. If you want to describe your use case in a new post, in detail, we’ll be happy to help out!

---

<div class="post-metadata">

**Author:** ![rochow](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/rochow/32/3098_2.png) [@rochow](https://answers.netlify.com/u/rochow)\
**Post date:** [October 1, 2019, 8:18pm UTC](https://answers.netlify.com/t/cdn-change-netlify-cdn-or-cloudfront/3582/9 "2019-10-01T20:18:46Z")

</div>

I wouldn’t really consider permalinks “asset optimisation”? It would be good if they are different settings

---

<div class="post-metadata">

**Author:** ![futuregerald](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/futuregerald/32/33_2.png) [@futuregerald](https://answers.netlify.com/u/futuregerald)\
**Post date:** [October 4, 2019, 3:25pm UTC](https://answers.netlify.com/t/cdn-change-netlify-cdn-or-cloudfront/3582/10 "2019-10-04T15:25:39Z")

</div>

Thanks for reaching out! At the moment when you enable asset optimization of any kind, we’ll serve assets from Cloudfront. This includes enabling pretty URL’s. This only happens for assets that are referenced in your html using relative paths. If you use full paths then it will still load them locally. While this is a behavior that we may change in the future, there are no immediate plans to do so.

---

<div class="post-metadata">

**Author:** ![perry](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/perry/32/16_2.png) [@perry](https://answers.netlify.com/u/perry)\
**Post date:** [October 4, 2019, 4:36pm UTC](https://answers.netlify.com/t/cdn-change-netlify-cdn-or-cloudfront/3582/11 "2019-10-04T16:36:32Z")

</div>


