This repository defines the cache worker for updating the cache of Serlo's Graphql API.
yarnto install all dependenciesyarn testruns the unit tests
__tests__contains the unit testssrc/defines the cache worker
- edit
src/cache-keys.jsonto 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.
