Skip to content

Instantly share code, notes, and snippets.

@bennacer860
Created July 6, 2017 02:01
Show Gist options
  • Save bennacer860/a9a4f0ef7127cf5469ca016d5c797848 to your computer and use it in GitHub Desktop.
Save bennacer860/a9a4f0ef7127cf5469ca016d5c797848 to your computer and use it in GitHub Desktop.
did not find key in cache, executing block ...
executing : select count(*) from users
::1 - - [31/Mar/2017:23:34:34 -0400] "GET / HTTP/1.1" 200 15 0.0102
{"number_of_users"=>{:value=>{:count=>33}, :expiration_time=>1491017684}}
fetch from cache and will expire in 8
::1 - - [31/Mar/2017:23:34:36 -0400] "GET / HTTP/1.1" 200 15 0.0008
{"number_of_users"=>{:value=>{:count=>33}, :expiration_time=>1491017684}}
fetch from cache and will expire in 6
::1 - - [31/Mar/2017:23:34:38 -0400] "GET / HTTP/1.1" 200 15 0.0007
{"number_of_users"=>{:value=>{:count=>33}, :expiration_time=>1491017684}}
fetch from cache and will expire in 5
::1 - - [31/Mar/2017:23:34:39 -0400] "GET / HTTP/1.1" 200 15 0.0008
{"number_of_users"=>{:value=>{:count=>33}, :expiration_time=>1491017684}}
did not find key in cache, executing block ...
executing : select count(*) from users
::1 - - [31/Mar/2017:23:34:48 -0400] "GET / HTTP/1.1" 200 15 0.0008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment