plan2net / webp

Create a WebP copy for images (TYPO3 CMS)
GNU General Public License v3.0
60 stars 34 forks source link

Same for Brotli #11

Closed DanielRuf closed 5 years ago

DanielRuf commented 5 years ago

It would be great to also have a similar Brotli extension for text files (css, js, svg and a few more).

wazum commented 5 years ago

Thanks for your request, but this extension is about webp only.

DanielRuf commented 5 years ago

Thanks for your request, but this extension is about webp only.

Sure. But do you plan to create another one for Brotli?

wazum commented 5 years ago

Currently not, no, none of our customers had a need for that yet, so the motivation is limited right now to spend time on technologies for which we have no practical use. But there may come the time for it.

DanielRuf commented 5 years ago

for which we have no practical use

Well, I take WPO very serious and this is important for mobile devices (3G) too ;-)

masi commented 5 years ago

As long as there is no extension that does static compression you can always use dynamic compression in the websever as it has been done for years with gzip and deflate.

And maybe an extension called webp isn't the right place for such a request ;)

BTW, except for webp one could also ask for image optimization of other formats like it's done with imagemin :)

DanielRuf commented 5 years ago

dynamic compression

This is not good as this adds additional load onto the server and increases the TTFB - delivering static precompiled assets is faster and recommended.

https://css-tricks.com/brotli-static-compression/

And maybe an extension called webp isn't the right place for such a request ;)

Sure. but where should I request another extension with the same structure and behavior but different compressor and output? ;-)

So it makes sense to ask here. And both could be bundled as WPO extension.

BTW, except for webp one could also ask for image optimization of other formats like it's done with imagemin :)

See the libvips / sharp discussion.