api url caching