Dear Antonio,
How can I compress response json in ajax call.
I think this should be possible with mod harbor.
But then is if sufficient to simply use content-encoding: gzip.
Maybe you have an example.
Best regards,
Otto
Create and download zip file with AJAX
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 21 times
- Been thanked: 2 times
- Contact:
Create and download zip file with AJAX
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Carles
- Posts: 1149
- Joined: Fri Feb 10, 2006 2:34 pm
- Location: Barcelona
- Been thanked: 7 times
- Contact:
Re: Create and download zip file with AJAX
Otto,
This work is done by Apache transparently. You must activate the mod_deflate in your httpd.conf
To see if your site works there are pages that will help you verify it, such as https://www.giftofspeed.com/gzip-test/
C.
This work is done by Apache transparently. You must activate the mod_deflate in your httpd.conf
To see if your site works there are pages that will help you verify it, such as https://www.giftofspeed.com/gzip-test/
C.
Salutacions, saludos, regards
"...programar es fácil, hacer programas es difícil..."
UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
Skype -> https://join.skype.com/cnzQg3Kr1dnk
"...programar es fácil, hacer programas es difícil..."
UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
Skype -> https://join.skype.com/cnzQg3Kr1dnk
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 21 times
- Been thanked: 2 times
- Contact:
Re: Create and download zip file with AJAX
Hello Carles,
thank you so much.
On my server I had to use this test tool:
https://www.whatsmyip.org/http-compression-test
https://www.giftofspeed.com/gzip-test/ give me an error.
On an other serve this is working fine.
Best regards,
Otto
![Image](https://mybergland.com/fwforum/compressiontest.jpg)
thank you so much.
On my server I had to use this test tool:
https://www.whatsmyip.org/http-compression-test
https://www.giftofspeed.com/gzip-test/ give me an error.
On an other serve this is working fine.
Best regards,
Otto
![Image](https://mybergland.com/fwforum/compressiontest.jpg)
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 21 times
- Been thanked: 2 times
- Contact:
Re: Create and download zip file with AJAX
Hello Carles,
I made a test with deflate on and off.
![Image](https://mybergland.com/fwforum/deflate.jpg)
Thank you again for your help.
Best regards,
Otto
I made a test with deflate on and off.
![Image](https://mybergland.com/fwforum/deflate.jpg)
Thank you again for your help.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************