I have PHP application served with Apache 2.4 I need the apache to compress (mod_deflate - gzip) calls for specific users. So the application should decides dynamically which calls gets gzipped. I was thinking of adding custom header. something like 'gzip-this-call:true'
How do I set htaccess to make only calls with this header get compressed?
Thanks