vue-storefront
vue-storefront copied to clipboard
When the cache is applied, a second rendering occurs
trafficstars
What is your question / Please describe your issue
Hi guys, I have a headache, according to the documentation, I integrated '@vue-storefront/redis-cache', and in a certain page, set the useCache() and addTags() functions and .
When I load the page for the first time, I find that the redis database has the data I just cached!
In order to verify that the cache is valid, I modified a part of the data directly in the redis server.
But when I re-refresh the same page, strange things happen, I see the redis data I just modified, but it disappears right away, and then it's back to the original data.
Am I missing something?
I suspect that after my cache takes effect, the render function is triggered again...
What version of Vue Storefront are you using?
2.5.6
Code of Conduct
- [X] I agree to follow this project's Code of Conduct