Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Minify JavaScript and CSS with the help of Jetty?

Hi Simone,

On Mon, Jul 18, 2016 at 5:00 PM, Simone Bordet <sbordet@xxxxxxxxxxx> wrote:

Note that Jetty's DefaultServlet (that serves static files), is
capable of serving files compressed if they exist.
That is: client requests /style.css, but on file system you have style.css.gz.
DefaultServlet will serve the latter with the proper Content-Encoding.


what if I have style.css - will it send it gzip it on the fly?

Regards
Alex


Back to the top