Yust set the headers you want, with w.Header().Set, before any Write.
For example Set("Cache-Control", "public, max-age=31536000")-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/7e87f574-e64f-4f16-b851-6dc671951fce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
