Skip to content

Changing the versions.json file often does not reflected in version menu for some time #243

@anb0s

Description

@anb0s

Summary

After changing the versions.json file, e.g. adding a new version, and deploying the site it takes some time until the version is shown correctly in the selector drop-down list. The forwarding to new version is done like documented in mike and the URL is correct, but previous version is shown in the selector drop-down list.

Configuration and Logs

  • Repository: private
  • Platform: GitLab
  • mike version: latest = 2.1.3

Steps to Reproduce

  1. change the version.json (add new, and adapt forwarding to new)
  2. build the site
  3. deploy to S3 bucket or GitLab pages
  4. open the target URL
  5. The URL shows new version in path, but selector drop-down list shows and selects previous version

Expected Behavior

  1. the version selector should reflect new version in short time / instant after upload

Additional Context

Clear browser data or opening other browser or incognito mode solves the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions