# העלאות S3 - שימוש ב-CDN עבור קבצי PDF?

**URL:** <https://meta.discourse.org/t/s3-uploads-using-cdn-for-pdfs/213218>\
**Category:** Bug\
**Created:** [27 בדצמבר,‏ 2021,‏ 5:34pm UTC](https://meta.discourse.org/t/s3-uploads-using-cdn-for-pdfs/213218 "2021-12-27T17:34:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)\
**Post date:** [28 בדצמבר,‏ 2021,‏ 7:33am UTC](https://meta.discourse.org/t/s3-uploads-using-cdn-for-pdfs/213218/2 "2021-12-28T07:33:51Z")

</div>

Interesting observation, something I’ve not noticed before.

I did a couple of tests.

Some existing PDF uploads _do_ link directly to CDN:

 ![Screen Shot 2021-12-28 at 07.21.33](https://global.discourse-cdn.com/meta/original/3X/5/2/5200ae04bb5baac4492d13f751b88eb10ee1b5f9.png)

Some existing PDF uploads do _not_ use the CDN:

 ![Screen Shot 2021-12-28 at 07.30.45](https://global.discourse-cdn.com/meta/original/3X/4/4/4468500c39b66d2409e00eaedfbc5b145b595d06.png)

What’s the difference? 🤔

I don’t know 🤷‍♂️ I’d need to check more examples.

I tried a quick test by DM’ing myself and a new post, shows `/short-url/` as per your details:

 ![Screen Shot 2021-12-28 at 07.24.01](https://global.discourse-cdn.com/meta/original/3X/0/a/0a06c0ca56f1b089968b374a3deb8f2975545781.png)

Clicking the link then pulls directly from the S3 bucket, again as per your description:

 ![Screen Shot 2021-12-28 at 07.25.08](https://global.discourse-cdn.com/meta/original/3X/8/2/82c5bd13c903e3678ec97147a062b37f205544d0.png)

I’m not quite sure why some of our posts _do_ use the CDN and some don’t, but I can replicate some of what you’re seeing.

---

_[View the full topic](https://meta.discourse.org/t/s3-uploads-using-cdn-for-pdfs/213218)._
