CCloud Releases
Home
Following

Cloud Releases

Service catalogues and updates come from each provider's public product listing and announcements.

Explore

  • Home
  • Latest updates
  • Following

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Use

Providers

  • Amazon Web Services
  • Microsoft Azure
  • Google Cloud
  • Cloudflare

Not affiliated with any cloud provider. Product names and logos belong to their owners.

  1. Providers
  2. ›Cloudflare
  3. ›Hyperdrive
  4. ›Update

Feature•Feb 23, 2026

Hyperdrive no longer caches queries using STABLE PostgreSQL functions

HyperdriveCloudflare · Developer platform

Hyperdrive now treats queries containing PostgreSQL STABLE functions as uncacheable, in addition to VOLATILE functions.

Previously, only functions that PostgreSQL categorizes as VOLATILE (for example, RANDOM(), LASTVAL()) were detected as uncacheable. STABLE functions (for example, NOW(), CURRENT_TIMESTAMP, CURRENT_DATE) were incorrectly allowed to be cached.

Because STABLE functions can return different results across different SQL statements within the same transaction, caching their results could serve stale or incorrect data. This change aligns Hyperdrive's caching behavior with PostgreSQL's function volatility semantics.

If your queries use STABLE functions, and you were relying on them being cached, move the function call to your application code and pass the result as a query parameter. For example, instead of WHERE created_at > NOW(), compute the timestamp in your Worker and pass it as WHERE created_at > $1.

Hyperdrive uses text-based pattern matching to detect uncacheable functions. References to function names like NOW() in SQL comments also cause the query to be marked as uncacheable.

For more information, refer to Query caching and Troubleshoot and debug.

Read the original announcement↗

More from Hyperdrive

All Hyperdrive updates →
  1. Hyperdrive support for Python Workers

    Python Workers can now connect to PostgreSQL and MySQL through Hyperdrive.

    Hyperdrive•Feature•Sep 16, 2026
  2. MySQL support in Hyperdrive is now generally available

    Support for MySQL in Hyperdrive is now generally available. You can connect to any MySQL database from your Workers using Hyperdrive.

    Hyperdrive•Generally available•Aug 7, 2026
  3. Restart a Hyperdrive configuration from the dashboard

    You can now restart a Hyperdrive configuration from the Cloudflare dashboard. Restarting drains the connection pool and forces Hyperdrive to establish new connections to your origin database.

    Hyperdrive•Feature•Aug 7, 2026
  4. Create PlanetScale Postgres and MySQL databases, billed to your Cloudflare account

    You can create PlanetScale Postgres and MySQL databases from Cloudflare and bill PlanetScale database usage through your Cloudflare account as a pay-as-you-go customer.

    Hyperdrive•Feature•Jun 18, 2026
  5. Hyperdrive exposes database connection pool size metrics

    You can now view the size of your Hyperdrive database connection pools, giving you the ability to self-diagnose connection issues.

    Hyperdrive•Feature•May 15, 2026