Skip to content
masterclass Buddy

Neon · Concept

fetchConnectionCache

fetchConnectionCache enables connection caching for Neon serverless driver HTTP queries. It can reduce connection lookup time and is useful for single-query serverless or Edge functions.

Last updated

Syntax

neonConfig.fetchConnectionCache = true;

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • neon
  • Pool
  • SQL-over-HTTP
  • WebSockets
  • @neondatabase/serverless

Source: HTTP vs. WebSockets: Which protocol for your Postgres queries at the Edge. Checked 2026-11-03.