package.elm-lang.org icon indicating copy to clipboard operation
package.elm-lang.org copied to clipboard

Caching policy problem

Open z5h opened this issue 7 years ago • 2 comments
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/ image

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

z5h avatar Oct 02 '18 15:10 z5h

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

norpan avatar Oct 02 '18 15:10 norpan

I am using Firefox and saw the same problem, albeit with a different package.

dvberkel avatar May 05 '19 07:05 dvberkel