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

Question: First GET then SETEX #172

Open
pythonios opened this issue Aug 9, 2017 · 1 comment
Open

Question: First GET then SETEX #172

pythonios opened this issue Aug 9, 2017 · 1 comment

Comments

@pythonios
Copy link

Hi
Is it normal that on every request which is made to flask cache it will trigger first a GET and after a SETEX? (Monitored via redis-cli monitor)

Thanks in advance just want to make sure that its really read from the cache.

@pythonios
Copy link
Author

For example:

1502243500.965786 [1 127.0.0.1:44768] "GET" "flask_cache_latest_group"
1502243500.967267 [1 127.0.0.1:44768] "SETEX" "flask_cache_latest_group" "3600" "!\x80\x03N."

Caching of that function the GET method is always followed by a SETEX

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

No branches or pull requests

1 participant