Zopfli compression

MultiformeIngegno

  • Posts: 1,337

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Zopfli compression
« Reply #1, on April 5th, 2013, 07:25 PM »
Yes, because increasing server load by a factor of 100 (for stuff that could be updated semi frequently) could be a good thing.

It has uses (and it's old news), but it doesn't really apply to us much.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

MultiformeIngegno

  • Posts: 1,337
Re: Zopfli compression
« Reply #2, on April 5th, 2013, 07:32 PM »
That's why I didn't post in Features :P

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Zopfli compression
« Reply #3, on April 5th, 2013, 07:35 PM »
Heh, well it is interesting in itself and there are times and ways it will be useful but I think those are rather few and far between :(

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Zopfli compression
« Reply #4, on April 5th, 2013, 07:39 PM »
I can see its use in CDNs where the content is fairly static.
The way it's meant to be

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Zopfli compression
« Reply #5, on April 5th, 2013, 07:41 PM »
But that's something that the CDN would typically manage transparently, no?

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Zopfli compression
« Reply #6, on April 6th, 2013, 01:42 PM »
Yes of course, and that's really good news for jQuery distribution, among other things... Another kilobyte saved :)

There are two PHP implementations so far:
https://github.com/kjdev/php-ext-zopfli
https://github.com/clickalicious/php_zopfli

May the best one win!
Couldn't find a compiled DLL for local tests though, so I guess it'll have to wait... (And yes, I'm not against adding support for zopfli in Wess, as long as low-iteration passes have similar performance to gzip -9 and still save more bytes.)

MultiformeIngegno

  • Posts: 1,337

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Zopfli compression
« Reply #8, on April 6th, 2013, 03:39 PM »
Quote
Couldn't find a compiled DLL for local tests though, so I guess it'll have to wait... (And yes, I'm not against adding support for zopfli in Wess, as long as low-iteration passes have similar performance to gzip -9 and still save more bytes.)
That's the point, it's at least one order of magnitude slower than gzip -9, if not nearer two orders of magnitude slower.