JQuery AJAX Response Gzip

738 views
Skip to first unread message

shiras abdulrahman

unread,
Jul 18, 2013, 2:33:31 AM7/18/13
to google-ajax...@googlegroups.com
Hi,

I am using AJAX Calls from HTML pages to get some data from server and display in the html pages. the response contains html and javascript.

response is json. 

How do I get the response compressed. 

If I check in fiddler, the Transformer tab is showing "no compression"

Please advice.

Thanks,

Jeremy Geerdes

unread,
Jul 22, 2013, 9:09:03 AM7/22/13
to google-ajax...@googlegroups.com
From what you've written, I'm thinking you're talking about standard AJAX communication with your own server. This group is really dedicated to the Google AJAX APIs, which are a specific application of AJAX.

That said, how you compress the response will vary depending on your specific server. For instance, in Apache, you simply install and enable mod_gzip. The module will automatically detect what sort of compression (if any) the browser can handle and then compress the response accordingly.

jg

--
--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-searc...@googlegroups.com
To view this message on the web, visit
https://groups.google.com/d/msgid/google-ajax-search-api/a1bcdef3-ed99-4b3c-b7b6-80af99ea3c76%40googlegroups.com
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
 
---
You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-ajax-searc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!
Reply all
Reply to author
Forward
0 new messages