Skip to content
This repository was archived by the owner on Aug 14, 2023. It is now read-only.

serlo/api.serlo.org-cache-worker

Repository files navigation

Cache Worker for api.serlo.org

Serlo logo

This repository defines the cache worker for updating the cache of Serlo's Graphql API.

Development

  • yarn to install all dependencies
  • yarn test runs the unit tests

Directory structure

  • __tests__ contains the unit tests
  • src/ defines the cache worker

Configuration

  • edit src/cache-keys.json to set the keys you want to update.
  • Set environment variable PAGINATION (integer) to determine how many keys are going to be updated at each call.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •