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

Reduce transient cache time #74

Open
stevegrunwell opened this issue Aug 28, 2020 · 0 comments
Open

Reduce transient cache time #74

stevegrunwell opened this issue Aug 28, 2020 · 0 comments

Comments

@stevegrunwell
Copy link
Contributor

When a site first reaches out to the WP101 Plugin SaaS to authenticate, the SaaS assigns it a public API key and its capabilities, which is then cached in a non-expiring transient.

If a subscriber were to change plans or otherwise impact the capabilities available to them, they would need to explicitly delete this transient, which is an unnecessary step.

Instead of caching for an unlimited amount of time, this should be lowered to something more reasonable (an hour or less), ideally 15min or so.

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

No branches or pull requests

1 participant