package.elm-lang.org
package.elm-lang.org copied to clipboard
Caching policy problem
trafficstars
The caching policy is causing confusing behaviour and hiding published packages.
Here, 1.1.0 is published but doesn't show up, and if navigated to directly we are told an older version is more recent.
https://package.elm-lang.org/packages/mdgriffith/elm-ui/1.1.0/

https://package.elm-lang.org/packages/mdgriffith/elm-ui/

It's probably Safari's aggressive caching that is the problem here. The server should probably return an appropriate Cache-Control header: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9
I am using Firefox and saw the same problem, albeit with a different package.