thread sinatra settings into index cache