Fixed an annoying issue with caching and respond_with.