added gzip, if requested device/browser supports it