Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • V Validata UI
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ValidataValidata
  • Validata UI
  • Merge requests
  • !8

Use requests_cache

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Pierre Dittgen requested to merge requests_cache into frictionless_scratch Jan 15, 2021
  • Overview 1
  • Commits 3
  • Pipelines 0
  • Changes 6

Tableschemas are downloaded by validata-ui on demand.

To limit stress on schema providers (github.com, framagit.org, ...), module requests_cache replaces cache_control.

cache-control (current library) caches based on HTTP response headers whereas requests-cache (new library) always caches.

  • schema urls are cached during a period of n minutes
  • number of minutes can be set using CACHING_EXPIRE_AFTER env variable
  • default is no cache
Edited Jan 15, 2021 by Christophe Benz
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: requests_cache

OpenDataFrance.net