Leon Radley
Leon Radley

Reputation: 7682

How to best serve larger files in cloud cdn?

I have a cloud cdn which primarily has been serving high res images for our visualization platform.

but lately we have started to get more into 3d content.

this content is served as .glb files (binary gltf). and are often in the range 8-40mb

in the documentation for cloud cdn it mentions that the cdn will not cache files larger than 10mb.

https://cloud.google.com/cdn/docs/caching#maximum-size

Since we are going to serve more and more large 3d files, and it does not feel good relying on only the underlying cloud storage bucket. Our bucket is placed in europe

What are my options?

Upvotes: 2

Views: 2731

Answers (1)

Eduardo
Eduardo

Reputation: 21

You can use Cloud CDN to provide files up to 5 TiB if the origin server supports byte range requests, and Cloud Storage supports it (if the content-encoding is not gzip).

https://cloud.google.com/cdn/docs/caching#byte-range-requests

Upvotes: 2

Related Questions