Add caching feature to PDP endpoint

Related to #7