htmx icon indicating copy to clipboard operation
htmx copied to clipboard

Front page "~14k min.gz’d" link leads to old version and claims incorrect size?

Open gwk opened this issue 1 year ago • 1 comments

The link in the second paragraph of the home page "~14k min.gz’d" points to unpkg, version 1.9.12. There are two problems with this:

  • 1.9.12 is old.
  • Unpkg says the size is 15.7kB.

If this gets updated to point to 2.0.4, the size for that version is listed as 16.4k.

gwk avatar Mar 17 '25 16:03 gwk

About the usage of 1.9.12 itself, as per the website's homepage

NEWS: htmx 2.0 has been released! It is not currently marked as latest in NPM so that people using the 1.x line are not accidentally upgraded. We will mark 2.0 as latest at some point in 2025.

The size is likely something we forgot to update for quite some time though, so if you are interested, please feel free to open a PR to fix that size value!

Telroshan avatar Mar 18 '25 07:03 Telroshan

jsDelivr says it's 16.04 KB so I think it's fair to say ~16k min.gz'd.

yawaramin avatar Jul 20 '25 15:07 yawaramin