Hacker News new | ask | show | jobs
by bjpirt 3388 days ago
Or even simpler you can use S3 redirects to send all of your old URLs to their new location on the same host. I'm currently doing this from both an old domain to a new domain and within the same domain and "It Just Works" (tm)
1 comments

app engine static files are dispatched by google cdn network for free. CloudFront is not free.
I think the OP is subverting the CDN functionality since the static assets are flowing through the golang code.
not flowing through, it is redirecting. The static files are really served by google cdn.
I don't think so. See his code:

    http.ServeFile(w, r, "static/"+r.URL.Path)
ok, he could use google cdn in fact.
I think you're right.