x/pkgsite: invalidate cache for pkg.go.dev/<import-path> when a new latest version is available #37026
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
pkgsite
Milestone
What is the URL of the page with the issue?
https://pkg.go.dev/github.com/sethvargo/go-githubactions?tab=doc
What is your user agent?
Screenshot
What did you do?
Visited the above URL, shortly after
v0.1.1
was released (at the time the screenshot was taken: 2020-02-04 21.02.48 UTC)What did you expect to see?
Refreshing the page to take me to the latest version.
v0.1.1
.What did you see instead?
I was left on the
v0.1.0
page with a red link (shown in the screenshot) that prompted me to click through for the latest version.To my mind the latest version should always be shown for the bare, non-canonical URL.
The red "latest" link should then show on the canonical version pages that are not the latest version. e.g.
https://pkg.go.dev/github.com/sethvargo/go-githubactions@v0.1.0?tab=doc
Related to #36807
The text was updated successfully, but these errors were encountered: