4 ms·
Out of the box, no CDN has a purpose built product to address this. The closest I have seen addressing the problem is that from Varnish : https://www.varnish-so
by dedalus 12y ago
Out of the box, no CDN has a purpose built product to address this. The closest I have seen addressing the problem is that from Varnish : https://www.varnish-software.com/product/varnish-api-acceleration https://www.varnish-software.com/product/varnish-api-acceler...
However most CDNs will try to cache it but not provide acceleration for dynamic ones.
In my case you are always guarateed 1 round trip between pronto nodes for dynamic traffic and cache whatever we can
On top of it, I am doing dedpulication/compression of JSON
Finally a CDN bills on bytes thus making it less profitable for them whereas we bill on number of requests
Hope that clarifies why a CDN doesnt cut it for APIs