Added caching methods for use with Nginx Lua Redis