Are there any performance benefits to using an API key?

Document ID : KB000104003
Last Modified Date : 02/07/2018
Show Technical Document Details
Question:
Are there any performance benefits to using an API key instead of basic authentication when making WSAPI requests?
Answer:
Yes, maintaining ZSESSIONID and JSESSIONID allows us to do some authentication caching and avoid calling our authentication services. Using basic authentication means an extra server call on the backend.
Additionally, maintaining the JSESSIONID cookie "pins" you to a specific app server, increasing the amount of data that is already in cache for the request.