Enabling caching for post JSON data