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.
signature.asc
Description: PGP signature