From: Intransition Date: 2011-11-20T04:30:36+09:00 Subject: gzip json jquery ajax github ------=_Part_1227_5899059.1321731033995 Content-Type: multipart/alternative; boundary="----=_Part_1228_14670755.1321731033995" ------=_Part_1228_14670755.1321731033995 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit And other fun terms ;-) So I have a project webpage that uses jquery, right. It dynamically generates some page content from a json file it gets via ajax. All good. But the file is fairly big, an average example is 385K. To me that's kind of large to be 1) transporting over the ajax wire and 2) storing in my project's repo. So I compressed the file with gzip and saw a 4x size reduction --the 385K went to 85K. That's more like it. I am hosting the page on github --it's part of gh-pages for a project. So I am wondering, is possible to use the gzipped version of the file instead of the regular version? ------=_Part_1228_14670755.1321731033995 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit And other fun terms ;-)

So I have a project webpage that uses jquery, right. It dynamically generates some page content from a json file it gets via ajax. All good. But the file is fairly big, an average example is 385K. To me that's kind of large to be 1) transporting over the ajax wire and 2) storing in my project's repo. So I compressed the file with gzip and saw a 4x size reduction --the 385K went to 85K. That's more like it. I am hosting the page on github --it's part of gh-pages for a project. 

So I am wondering, is possible to use the gzipped version of the file instead of the regular version?

------=_Part_1228_14670755.1321731033995-- ------=_Part_1227_5899059.1321731033995--