Gzip json jquery ajax github

And other fun terms :wink:

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?

Intransition писал 19.11.2011 23:30:

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?

Yes.