Welcome Guest, Not a member yet? Register   Sign In
GZip Compression for Website with Ajax
#5

(04-20-2017, 11:04 AM)antony Wrote: What do you mean by "i run into js error (because i get a compressed json)"?
Json should remain valid even if compressed.

Could you provide an example of what a request looks like compressed (invalid) and uncompressed (valid), as well as your javascript code which can't parse the compressed code.
If "compress_output" = false, than i get a valid json back.
If "compress_output" = true, i dont get any data back from the api. (But get 200 OK from Server)

@Diederik Thank you, that work. 

@AzrielOmega Mhh that didnt effect the loading-size of my page...
Reply


Messages In This Thread
RE: GZip Compression for Website with Ajax - by Waschi - 04-27-2017, 12:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB