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

Add --skip-cache flag #61

Open
davidegreenwald opened this issue Dec 1, 2021 · 0 comments
Open

Add --skip-cache flag #61

davidegreenwald opened this issue Dec 1, 2021 · 0 comments

Comments

@davidegreenwald
Copy link

Is your enhancement related to a problem? Please describe.

We have seen intermittent issues where the transient value storing API information gets stuck in Memcached and does not expire on time. This has been challenging to replicate and I think the best solution would be to add optional functionality to bypass the cached transient key and ensure a call to the API is made. This would be helpful to users conducting a daily scan who never need cache.

Describe the solution you'd like

Add --skip-cache or another similar flag to the available plugin flags to make an API call and not check for the presence of the transient. I believe this logic is happening here: https://github.com/10up/wpcli-vulnerability-scanner/blob/develop/wpcli-vulnerability-scanner.php#L1044

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

2 participants