Added URL path caching to reduce queries.