[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Auth Library Client - Class HttpClientCache (1.47.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.47.1 (latest)](/php/docs/reference/auth/latest/HttpHandler.HttpClientCache)\n- [1.47.0](/php/docs/reference/auth/1.47.0/HttpHandler.HttpClientCache)\n- [1.46.0](/php/docs/reference/auth/1.46.0/HttpHandler.HttpClientCache)\n- [1.45.2](/php/docs/reference/auth/1.45.2/HttpHandler.HttpClientCache) \nReference documentation and code samples for the Google Auth Library Client class HttpClientCache.\n\nStores an HTTP Client in order to prevent multiple instantiations.\n\nNamespace\n---------\n\nGoogle \\\\ Auth \\\\ HttpHandler\n\nMethods\n-------\n\n### static::setHttpClient\n\nCache an HTTP Client for later calls.\n\nPassing null will unset the cached client.\n\n### static::getHttpClient\n\nGet the stored HTTP Client, or null."]]