Say in my http fileserver, I have /static/foo.tar.gz. Should my fileserver
be serving it as /static/foo.tarwith content-encoding: gzip always or
should it be served as /static/foo.tar.gz with content-type: gzip?

Change foo.tar.gz with any file that ends in .gz. My question boils down to
whether or not every .gz file should be served with content-encoding: gzip?
I know it's fine for html/css/js but I'm wondering if there are some files,
where i should be serving them with content-type: gzip? As in, why not just
always use content-encoding: gzip and strip off the extension?

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to