Skip to content

Make prefilling of cache external to django and call it from CI

Robbie Luijben requested to merge SDC-870/prefill-cache-command into main

Prefilling of cache is removed from app startup and made available as external command. Two reasons:

  • Prefilling of cache mechanism does not run on startup of application when deployed, because it does not play nice with gunicorn somehow
  • Prefilling of the cache should not be a hard and 'baked in' behavor, but rather something you can trigger externally. This is now done through a custom python management command and called from CI.

Merge request reports