My guess: If the compressed files are pregenerated and sitting on the filesystem (e.g. you have blah.json and blah.json.gz), nginx will serve them to any browser that sends the correct Accept-Encoding headers. Good luck. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,242107,242108#msg-242108