Hi,
I'm using DigitalOcean's 1-click WordPress OLS droplet.
When a new user registers, he needs to reset his password, and the link to reset his password is sent by email. The problem is this link is always invalid when tried to open. I noticed that if I wait exactly 6 minutes from the time of registration, then the link will work! So I checked my LScache settings, and noticed Redis default object lifetime is 360 seconds (6 minutes). So to confirm this theory, I tried to register again as new user, and then directly after registration, I do "Purge All - Object Cache" from LScache menu, and I tried to open the reset password link, and it works.
So then my question is, is there a way maybe to exclude certain URL/cookie from being cached by Redis? Because from my search, I don't see any clues saying this is possible. FYI I've excluded the URLs for reset password on LScache settings, but it's still not working, I assume LScache is not the same as object cache?
Or maybe there's a way to "manually" purge object cache whenever a new user registers?
If possible, I'd like to keep using object cache. I've used Redis since my previous stacks, and it's been working good. But if you think Redis won't make much of a difference with LScache combined, I'd like to hear your thoughts on that.
Thanks in advance.
I'm using DigitalOcean's 1-click WordPress OLS droplet.
When a new user registers, he needs to reset his password, and the link to reset his password is sent by email. The problem is this link is always invalid when tried to open. I noticed that if I wait exactly 6 minutes from the time of registration, then the link will work! So I checked my LScache settings, and noticed Redis default object lifetime is 360 seconds (6 minutes). So to confirm this theory, I tried to register again as new user, and then directly after registration, I do "Purge All - Object Cache" from LScache menu, and I tried to open the reset password link, and it works.
So then my question is, is there a way maybe to exclude certain URL/cookie from being cached by Redis? Because from my search, I don't see any clues saying this is possible. FYI I've excluded the URLs for reset password on LScache settings, but it's still not working, I assume LScache is not the same as object cache?
Or maybe there's a way to "manually" purge object cache whenever a new user registers?
If possible, I'd like to keep using object cache. I've used Redis since my previous stacks, and it's been working good. But if you think Redis won't make much of a difference with LScache combined, I'd like to hear your thoughts on that.
Thanks in advance.