How to serve static compressed files

[email protected] Thu, 4 May 2017 05:18:40 -0700 (PDT)
Newsgroups gmane.comp.python.cherrypy
Message-ID <[email protected]>
Hello, 

I need, for my application, to serve some svg and json files, they are 
served statically and because I also need to reduce their size I would like 
to store them already compressed.
The good news is that firefox support both brotli and gzip for http 
compression, since the first one is really efficient (more than lzip, gzip 
or xz with max setting), I plan to brotli-compress all my files and save 
disk and bandwidth by serving them as this, with only one decompression 
made at the end. Is is even possible ? and how could I do this with 
cherrypy ? Or may be with gzip ?

Sincerely,

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