GLB Model Hosting: What to Look For
A GLB file is only useful on the web when a browser can fetch it quickly and render it safely. Hosting is not just storage. It is HTTPS, content type, CORS, caching, and a URL that stays stable long enough to share.
By TryAR Editorial Team · Updated
What GLB is
GLB is the binary container for glTF. It packs geometry, materials, textures and scene structure into one file, which makes it practical to move between tools and load in a browser. It is not a universal AR format: Apple's AR Quick Look expects USDZ, while Android's Scene Viewer and most web viewers work with GLB.
The hosting requirements
The viewer needs a public HTTPS URL that returns the model with a sensible content type. If the model is on a different origin, the bucket or server must allow cross-origin reads. Without CORS, the viewer can download the file but cannot read it into the 3D scene.
- HTTPS with a valid certificate.
- CORS enabled for the viewer origin.
- Content-Type set to model/gltf-binary (or a compatible binary type).
- Long-lived caching for immutable model files.
- A stable public URL, not a signed URL that expires.
Public file vs product page
A public GLB URL is not a product page. It has no title, seller, cover image, share actions or AR explanation. Search engines should index the product page; the model file is an asset. Keep the model URL public only when the seller intends the model itself to be downloadable.
Performance and cost
Model size drives load time more than almost anything else. A 20 MB GLB on a slow connection is a different experience from a 2 MB GLB. Compress textures, remove hidden geometry, and keep the first view simple. A CDN helps, but it cannot fix a model that is too heavy.
Storage is usually cheap; egress and mobile data are the real costs. Cache aggressively, serve from an edge bucket, and avoid re-downloading the same model on every page view.
A hosting checklist
- Open the model URL directly and confirm the file downloads or renders.
- Check the response headers for content type and cache policy.
- Load the model from the viewer's origin and watch the console for CORS errors.
- Test on a phone with a throttled connection.
- Keep the product page URL separate from the model URL.
- Back up the source file; hosting is not a archive.
Common questions
Can I host a GLB on Google Drive or Dropbox?
Not reliably. Shared-file links often redirect, omit the right content type, or block cross-origin reads. Use a bucket or a host that is designed to serve public assets over HTTPS.
What is the maximum GLB size on TryAR?
TryAR accepts a .glb up to 20 MB and a cover image up to 2 MB. Smaller models generally load faster and are easier to view on a phone.
Is my model public if I upload it?
A published product page and its model are public by design so buyers can view them. Do not upload a model you are not allowed to publish.
Sources
6 min read