[openstreetmap/openstreetmap-website] Minify JS (Issue #7143)

Pablo Brasero notifications at github.com
Tue Jun 9 11:02:27 UTC 2026


pablobm created an issue (openstreetmap/openstreetmap-website#7143)

I just noticed that we are serving JS unminified. (CSS is being minified from what I can tell).

This is something that nowadays I couldn't remember it if it was worth doing or not (all with HTTP2, latest compression schemes, etc), so I went and asked an expert, who said:

> yes, it's still less bytes on the network.
> 
> not necessarily worth trying to use the most complex minifier ever, but assuming it's just a quick job to hook a simple one that just does simple transformations like removing whitespaces, then it's very much worth it.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/7143
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/7143 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260609/b2d9f1d1/attachment.htm>


More information about the rails-dev mailing list