Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Google App Engine use google CDN to distribute static resources?

I find a lot of articles on the web describing how GAE can be used as a CDN. But, I could not locate any mention about CDN in Google's documentation of App Engine.

Can somebody please point me to some official document/article mentioning how applications developed on top of GAE benefit from Google CDN servers?

Thanks in advance :)

like image 652
Ashwin Prabhu Avatar asked Apr 24 '10 14:04

Ashwin Prabhu


People also ask

How the static files are stored and accessed in Google App Engine?

When App Engine receives a request for a URL beginning with /static , it maps the remainder of the path to files in the ./public directory. If an appropriate file is found in the directory, the contents of that file are returned to the client. The /. * handler matches all other URLs and directs them to your app.

Where should I store static files?

Cloud Storage can host static assets for dynamic web apps. The benefits of using Cloud Storage instead of serving directly from your app include: Cloud Storage essentially works as a content delivery network.

Where are static HTML files stored?

Static files are stored within the project's web root directory. The default directory is {content root}/wwwroot , but it can be changed with the UseWebRoot method. For more information, see Content root and Web root. The preceding code was created with the web app template.

Is Google App Engine PaaS or IaaS?

Google App Engine is a Platform as a Service (PaaS) solution that makes deployment easier. On the other hand, the Google Compute Engine is an Infrastructure as a Service (IaaS) tool.


1 Answers

Yes, GAE uses google's infrastructure for static content.

Have a look at this session at Google IO 2009 and read slides 24-28.

The static content is handled by specialized infrastructure. App runtimes don't serve them.

like image 101
jbochi Avatar answered Nov 11 '22 06:11

jbochi