so, is connect's gzippo good?
I have two questions,
1) if i want to serve static javascript ( i use express), I can just do gzippo and do that:
app.use(gzippo.staticGzip(__dirname + '/public'));
is that right? what if the client browser doesn't support gzip (in rare case)? will it automatically send the uncompress version? also, will the zipped file cached? or compress for every request?
2) If the app's get method returns JSON, what is the correct method to handle compress result? should I first check the http.request header's "accept-encoding" and make sure it support gzip, then compress the JSON result? or gzippo will automatically handle it?
one more question: 3) If I have a uncompressed JS file (e.g. my.js) and a manually gzipped JS file (e.g. my.js.gzip) in the public folder, which one will be served if client side script include is
do I have to specify as ?
that a question not just on node.js but also on normal apache server. :) thanks.