It's the content of the page, the raw html, that is replaced with a zipbomb. Example:
https://example.com checks if you are a malicious bot, depending on the result, it will send you gzip html or gzipped bomb. So that can't be swapped or redirected to a CDN. The bots would simply ignore the redirect.