Using Google App Engine as a CDN

I am creating a static site that deploys to Google App Engine. Are there any benefits of storing assets (js, css, imgs) in CloudStorage. All assets will be under 32MB (if that's the limit).

Based on this slide (slides 24-28), it looks like queries for static assets of the GAE application will use Google's dedicated infrastructure designed to serve static assets. However, it is unclear how its performance compares to Google CloudStorage.

Any clarification on this point would be much appreciated. Similar questions exist on Stackoverflow, but they are quite outdated (2010) and Google Cloud products have changed since then.

+3


source to share


1 answer


Tuning the cache headers will result in similar performance AFAIK. Both GAE and GCS use the Google Edge cache .

GCS is probably easier to manage your static resources whereas adding / removing static resources requires a reallocation for GAE.



Another important note: GCS as a CDN does not work with HTTPS with custom domains. GAE supports HTTPS with custom domains.

+4


source







All Articles