What is the best way to serve static image and javascript files using appengine?
From what I can see there are two methods applicable, having the files stored in the war directory of the service you are uploading, at design time. The alternative being using the blobstore, with the files being uploaded after the service has.
I see there is a 150mb restriction on the resource files in the war directory (with a 10mb limit per file), but from what I can see this is simpler, ‘free’ space. Is it slower than the blobstore? The dynamic nature of the blobstore is of little interest to me, so the directory seems the better option.
Can anyone offer any advice? Are my conclusions correct?
It’s fine to put javascript and images files in your resources file directory on appengine. In my experience, blobstore and resource files have similar performance characteristics.
However, as site speed becomes more important it may make more sense to use a CDN to get the static files to your users more quickly.
If the static javascript is something common like jquery or jquery-ui I would recommend using google libraries API right off the bat: http://code.google.com/apis/libraries/devguide.html