Skip to content

Optional caching#151

Open
jszd2022 wants to merge 9 commits intonnjeim:masterfrom
jszd2022:feat/optional-caching
Open

Optional caching#151
jszd2022 wants to merge 9 commits intonnjeim:masterfrom
jszd2022:feat/optional-caching

Conversation

@jszd2022
Copy link
Copy Markdown
Contributor

@jszd2022 jszd2022 commented Apr 9, 2026

  • Added withCaching() and withoutCaching() methods to WorldHelper::class to make caching optional; Caching default isEnabled can be set in config/world.php, after each BaseAction.execute() call the isEnabled resets to it's default value set in the config
  • Added optional cache=[0,1] query parameter to api calls to enable/disable cache for that call

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant