503 - Object Too Large

How to solve 503 - Object Too Large issue on Fastly?

If you are experiencing this using a Delivery service, you’ll need to enable segmented caching. If you are experiencing this using a Compute service, unfortunately there is no mechanism available to increase the object size limit.

How to enable segmented cache on fastly? & what is fastly max upload size limit

I provided a link to the documentation in my reply; please click that link. However, if you are getting this error for POST operations, that’s not related to caching at all, and is probably coming from your origin, not from Fastly.

Ok thanks, btw i want to enable segment cache only for 20MB+ file in fastly can i do this in fastly?

That may be possible, but we don’t have a guide for how to do it… and it seems unlikely that it would provide any performance benefit. Why do you want to enable it for only some responses?