Y
Hacker News
new
|
ask
|
show
|
jobs
by
tyingq
3391 days ago
I think the OP is subverting the CDN functionality since the static assets are flowing through the golang code.
2 comments
tapirl
3390 days ago
not flowing through, it is redirecting. The static files are really served by google cdn.
link
tyingq
3390 days ago
I don't think so. See his code:
http.ServeFile(w, r, "static/"+r.URL.Path)
link
tapirl
3390 days ago
ok, he could use google cdn in fact.
link
ngrilly
3391 days ago
I think you're right.
link