What/Why:
There are times we need to turn off the caching functionality in WikiLambda when invoking functions in Production. The argument $bypassCache stored in extensions/WikiLambda/includes/OrchestratorRequest.php ~L51. It would be useful to have a way to do this via an environment variable or something.
How:
- Find best way to to do this and figure out implementation details
- Add to doc or create a patch to introduce new env var or config/script.
Resources: https://wikitech.wikimedia.org/wiki/Wikifunctions/Runbook#Add_a_new_pre-defined_Object_in_production