[Pkg-roundcube-maintainers] Bug#978070: Bug#978070: src:roundcube: LESS-generated code installed only compressed, unlike other CSS code

Guilhem Moulin guilhem at debian.org
Fri Dec 25 15:30:48 GMT 2020


On Fri, 25 Dec 2020 at 16:00:09 +0100, Jonas Smedegaard wrote:
> I would expect upstream instructions to be irrelevant for the serving of 
> minified files: That's something a frontend web server can be configured 
> to favor instead of on-the-fly compression (or no compression) 
> independent of the backend web application.

What I meant is that IIRC the PHP has a preference list for which file
to load (say [.min.css, .css] or just [.css] or just [.min.css]), and
uses the first one present as resource.  So if .min.css is not in that
preference list it's never gonna be served unless a dedicated rule is
added on the HTTPd which is arguably a regression.

Shipping pre-compressed (gzip, brotli, whatever) resources is not a
problem as long as the deflated version is also present: roundcube will
choose the later in the generated HTML, and as you wrote the HTTPd can
be configured to serve the pre-compressed version.

-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-roundcube-maintainers/attachments/20201225/faa43045/attachment.sig>


More information about the Pkg-roundcube-maintainers mailing list