Allow caching of range requests on nginx using Lua