Added caching to the backend to speed up responses on repeat requests.