Added cache for PATH endpoint. Refactoring.

3 jobs for !139 with cache-path_endpoint in 37 minutes and 26 seconds (queued for 1 second)
latest merge request