by bobfunk · 12y ago · 0 comments
On appengine you're just deploying a dynamic app that just routes everything to a static folder, but since Google doesn't know this is a static site, it's pretty limited what they can do to set good cache headers and optimize stuff for performance. So even if they have an awesome infrastructure, BitBalloon will make your site perform better.
Here's the quick test result from the same site uploaded to AppEngine and BitBalloon:
http://tools.pingdom.com/fpt/#!/vLi9d/http://teststaticsite.... http://tools.pingdom.com/fpt/#!/dwqwvX/http://speedtest.bitb...
https://github.com/stochastic-technologies/static-appengine-...
It supports multiple domains for a single AppEngine instance, and custom URLs for each page. Pull requests for caching/headers/etc welcome!
Additionally, if you actually define your static files as static, then it doesn't even need to spin up instances to serve them.
I've certainly had my criticisms of App Engine in the past, and for certain workloads it's not appropriate [1], but for mostly read only websites like blogs, news, landing pages, I even run a forum on app engine, it's perfect.
In fact, that blog post where I complain about the cost of app engine for hosting my game is itself hosted on app engine. It cost me 6c the day it hit the front page of hn. I pay more for the domain than I do for app engine hosting.
[1]: http://www.war-worlds.com/blog/2013/06/switched-away-from-ap...
Half a second is definitively enough that plenty of large scale tests have shown differences in conversion rate.
That difference gets much bigger for people with more than 1 page view due to perfect caching headers.