Always use compression for downloads

Created on 16 June 2014, over 10 years ago
Updated 18 April 2024, 10 months ago

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.

✨ Feature request
Status

Closed: outdated

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024