do not send user-agent in browser
use function itself for memoization