Currently http://browscap.org supports gzip compression for its download links. Using it reduces download size by a factor of 10-20x. Unfortunately, only PHP >= 5.4.0 has built-in support for gzip decompression via gzdecode(), so we cannot currently use compression for all downloads.

If http://browscap.org supported the deflate compression method, it looks like we would be able to always use compression via gzinflate().

So I put in a feature request for deflate with the Browscap project:
https://github.com/browscap/browscap/issues/320

If they reject it, we may be out of luck unless a compression library is bundled with the Browscap module.

Comments

AohRveTPV’s picture

Updated browscap.org feature request link:
https://github.com/browscap/browscap-site/issues/15

greggles’s picture

Well, and luckily php 5.3.0 is slowly going away and we can just use php 5.4.0 features ;)

AstonVictor’s picture

Status: Active » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks