Skip to content

Use rocrate-validator cache warm to populate the cache during the docker image build #163

Closed

Description

@elichad

Optionally use --cache-path to set the cache location.

Requires rocrate-validator v0.10.0

Activity

  1. elichad commented on Jun 17, 2026

    @elichad
    ContributorAuthor

    Noting the validator defaults for caching:

    # Http Cache Settings
    DEFAULT_HTTP_CACHE_MAX_AGE = -1  # in seconds; negative means "never expire"
    DEFAULT_HTTP_CACHE_PATH_PREFIX = '/tmp/rocrate_validator_cache'
    # Directory name used under the user's cache root for the persistent HTTP cache
    USER_CACHE_DIR_NAME = "rocrate-validator"
    # Filename (without extension) of the persistent HTTP cache under the user cache dir
    USER_CACHE_FILE_NAME = "http_cache"
    # Environment variable to disable automatic warm-up of the HTTP cache
    AUTO_WARM_ENV_VAR = "ROCRATE_VALIDATOR_AUTO_WARM"
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions