add rack as dependency for query cache middleware