Hello,

I just released a new Mojolicious plugin,
Mojolicious::Plugin::GzipStatic
(https://metacpan.org/pod/Mojolicious::Plugin::GzipStatic)

It monkey patch Mojolicious::Static to compress the static assets
before service them if the browser supports it and if the asked asset
is text (js, css, xml, etc) (since compressing png, jpg, mp4, etc is
useless).

Advices and patches[1] welcome 🙂

(Maybe it could be a core feature, don't you think?)

[1] https://framagit.org/luc/mojolicious-plugin-gzipstatic/issues
-- 
Luc
https://fiat-tux.fr/
https://luc.frama.io/
Internet n'est pas compliqué, Internet est ce que vous en faites.

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to