Replaced redis set + expire with atomic setex.
Added nocache query option.
Merge branch 'custom-caching'