Fixed http service to work correctly with cache