Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal of tweaks around global and local cache configuration #45

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

kdybicz
Copy link

@kdybicz kdybicz commented Jul 1, 2022

  • Making sure global cache configuration is taken into consideration for all datasource methods
  • Making sure method-specific cache configuration is overriding global configuration, if present
  • Adding related tests
  • Adding VSC configuration folder to .gitignore

@kdybicz
Copy link
Author

kdybicz commented Jul 9, 2022

@StarpTech I'm happy to talk through the changes I've made and the motivation, I also have following changes queued up, ie. for optional maxTtlIfError and I'm thinking on improving performance and bandwidth used while caching with maxTtlIfError

@@ -0,0 +1,20 @@
{
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove .vscode files and add them to the .gitignore file.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@StarpTech done

@StarpTech
Copy link
Owner

Hi @kdybicz sorry for the late response. Your change will give request options precedence over global defaults. This is natural and the current behavior was more of a bug.

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.

2 participants