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

Cache not working #2

Open
murdercode opened this issue Jan 27, 2023 · 2 comments
Open

Cache not working #2

murdercode opened this issue Jan 27, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@murdercode
Copy link
Contributor

Found in debugging app:

select * from `nova_redirector_seo` where `from_url` = '/' and `enabled` = 1 limit 1
1.54ms/vendor/the-3labs-team/nova-redirector-seo/src/App/Helpers/NovaRedirectorSeoHelper.php:32
@murdercode murdercode added the bug Something isn't working label Jan 27, 2023
@murdercode
Copy link
Contributor Author

Not verified in local env, staging to confirm.

@DispatchCode
Copy link

I'm testing in local environment, and there is a fun fact: I added the cache to challengeRegex() and it works fine. But the cache on challengeExact() it dosen't work (same problem with the cache in middleware).

Seems like the cache key is not stored in Redis, or better: the key exists but if you call cache()->has() return false (but checking from the Redis client, is there).

I keep further investigating...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants