Fix bug where response wasn't sent back on first request, only subsequent requests where the cache was hit