# Any recommendations for webhosting that will serve custom file types compressed? (glb, gltf)

**URL:** <https://discourse.threejs.org/t/any-recommendations-for-webhosting-that-will-serve-custom-file-types-compressed-glb-gltf/18113>\
**Category:** Questions\
**Tags:** hosting\
**Created:** [August 24, 2020, 4:46pm UTC](https://discourse.threejs.org/t/any-recommendations-for-webhosting-that-will-serve-custom-file-types-compressed-glb-gltf/18113 "2020-08-24T16:46:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![overthere](https://avatars.discourse-cdn.com/v4/letter/o/ec9cab/32.png) [@overthere](https://discourse.threejs.org/u/overthere)\
**Post date:** [August 24, 2020, 4:46pm UTC](https://discourse.threejs.org/t/any-recommendations-for-webhosting-that-will-serve-custom-file-types-compressed-glb-gltf/18113/1 "2020-08-24T16:46:48Z")

</div>

Hi,  
Does anyone have any recommendations for webhosting that serves custom file types compressed? (e.g. glb, gltf).

I’m looking to avoid having to run Nginx or equivalent on a VPS and make the version updates and security somebody else’s problem 🙂

```
 Thanks
    Andy
```

---

<div class="post-metadata">

**Author:** ![gui](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/gui/32/27258_2.png) [@gui](https://discourse.threejs.org/u/gui)\
**Post date:** [August 24, 2020, 4:50pm UTC](https://discourse.threejs.org/t/any-recommendations-for-webhosting-that-will-serve-custom-file-types-compressed-glb-gltf/18113/2 "2020-08-24T16:50:14Z")

</div>

I personally use heroku or netlify, I’ve found them easy to setup and reliable over the years.

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [August 24, 2020, 5:27pm UTC](https://discourse.threejs.org/t/any-recommendations-for-webhosting-that-will-serve-custom-file-types-compressed-glb-gltf/18113/3 "2020-08-24T17:27:33Z")

</div>

I use [https://vercel.com/](https://vercel.com/), but generally hear good things about Netlify too. Anything with GZip support, really. Unfortunately GitHub Pages does not offer that except for specific file types (not including glTF): [https://github.community/t/support-for-gzip-on-glb-3d-model-files/11004](https://github.community/t/support-for-gzip-on-glb-3d-model-files/11004).

---

<div class="post-metadata">

**Author:** ![overthere](https://avatars.discourse-cdn.com/v4/letter/o/ec9cab/32.png) [@overthere](https://discourse.threejs.org/u/overthere)\
**Post date:** [August 25, 2020, 7:17am UTC](https://discourse.threejs.org/t/any-recommendations-for-webhosting-that-will-serve-custom-file-types-compressed-glb-gltf/18113/4 "2020-08-25T07:17:29Z")

</div>

Thanks for the recommendation Vercel looks like someone read my mind as to what I am after, off to try now!

Yes I’d come across your post when I was searching round for options 🙂 it’s a shame as it would be a really easy option otherwise

---

<div class="post-metadata">

**Author:** ![overthere](https://avatars.discourse-cdn.com/v4/letter/o/ec9cab/32.png) [@overthere](https://discourse.threejs.org/u/overthere)\
**Post date:** [August 25, 2020, 10:27am UTC](https://discourse.threejs.org/t/any-recommendations-for-webhosting-that-will-serve-custom-file-types-compressed-glb-gltf/18113/5 "2020-08-25T10:27:22Z")

</div>

I really like Vercel’s set up very slick, the glb in my test app aren’t being served compressed though. Did you have to customise anything to get that working? thanks

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [August 25, 2020, 11:26pm UTC](https://discourse.threejs.org/t/any-recommendations-for-webhosting-that-will-serve-custom-file-types-compressed-glb-gltf/18113/6 "2020-08-25T23:26:38Z")

</div>

Hm, it looks like Vercel’s static hosting doesn’t handle this automatically either:

[https://github.com/vercel/vercel/discussions/5096](https://github.com/vercel/vercel/discussions/5096)

You can use the Node.js runtime (with ExpressJS or just [serve](https://github.com/vercel/serve)) and that should work in Vercel, though.

---

<div class="post-metadata">

**Author:** ![overthere](https://avatars.discourse-cdn.com/v4/letter/o/ec9cab/32.png) [@overthere](https://discourse.threejs.org/u/overthere)\
**Post date:** [August 26, 2020, 8:40am UTC](https://discourse.threejs.org/t/any-recommendations-for-webhosting-that-will-serve-custom-file-types-compressed-glb-gltf/18113/7 "2020-08-26T08:40:46Z")

</div>

That’s a shame, it really does seem to be a gap for hosting options, not just glb/gltf but quite often wasm and definitely for dll’s if you are running Blazor apps or equivalent.

Only way I’ve found bar running own server on a VPS is to use S3 bucket, this lets you set appropriate metadata and is respected if served directly and also through their Cloudfront CDN. Cloudfront seems to be unusual in respecting browser requests for compressed content when served in this way.

---

<div class="post-metadata">

**Author:** ![overthere](https://avatars.discourse-cdn.com/v4/letter/o/ec9cab/32.png) [@overthere](https://discourse.threejs.org/u/overthere)\
**Post date:** [August 26, 2020, 8:46pm UTC](https://discourse.threejs.org/t/any-recommendations-for-webhosting-that-will-serve-custom-file-types-compressed-glb-gltf/18113/8 "2020-08-26T20:46:43Z")

</div>

Turns out gui’s recommendation of netlify is the one to go for, annoyingly I’d misread a support thread as suggesting it had issues so it was one I hadn’t actually set up a trial account on _facepalm_

glb are brotli compressed by them, as well as wasm and dll, don’t know if that means they will serve any compressible MIME type as expected
