Re: [google-appengine] Static File Serving

32 views
Skip to first unread message
Message has been deleted

Nick Johnson (Google)

unread,
Oct 22, 2009, 6:09:19 AM10/22/09
to google-a...@googlegroups.com
Hi,

If you set an expiration time for your static content, it may be cached at geographically diverse endpoints. Without one, it won't be, as it doesn't know how long it's safe to cache for.


-Nick Johnson

On Wed, Oct 21, 2009 at 2:44 PM, stumpy <ianmcgr...@gmail.com> wrote:

I am developing an application that targets the UK market and am
looking at ways of improving the download speed of static files hosted
on app engine such as .js, .css, .png etc.

My testing suggests that app engine is serving all static content from
america which adds significant latency. Downloading a static file of
size <1KB takes 200-250ms from england.

Are there any plans in the future to geographically distribute static
content across data centers? Or would I be better off using amazon
cloud front for serving everything static?




--
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047
Message has been deleted
Message has been deleted

nickmilon

unread,
Oct 27, 2009, 8:01:08 AM10/27/09
to Google App Engine
Don't understand what you mean by "appengine-web.xml" file.
But what Mr. Nick Johnson is suggesting I believe is to set an
expiration time for your static content as described here:

http://code.google.com/appengine/docs/python/config/appconfig.html
i.e use a default expiration or expiration declaration in your Yaml
file.

I don't see all this as a potential bug.


On Oct 26, 12:39 pm, stumpy <ianmcgrath.m...@gmail.com> wrote:
> So is this a bug that should be reported?
>
> On Oct 22, 10:09 am, "Nick Johnson (Google)" <nick.john...@google.com>
> wrote:
>
>
>
> > Hi,
> > If you set an expiration time for your static content, it may be cached at
> > geographically diverse endpoints. Without one, it won't be, as it doesn't
> > know how long it's safe to cache for.
>
> >http://code.google.com/appengine/docs/python/config/appconfig.html#St...
>
> > *-Nick Johnson
> > *

Barry Hunter

unread,
Oct 27, 2009, 8:31:31 AM10/27/09
to google-a...@googlegroups.com
See:
http://code.google.com/appengine/docs/java/config/appconfig.html

(notice the 'java' in the url :)

stumpy is saying already setting a expiration time, just that it has
no affect on edge caching.

2009/10/27 nickmilon <nick...@gmail.com>:
Reply all
Reply to author
Forward
Message has been deleted
0 new messages