docs icon indicating copy to clipboard operation
docs copied to clipboard

Cache documentation is not correct regarding query parameters

Open joselcvarela opened this issue 7 months ago • 1 comments

When looking into first paragraph here - https://directus.io/docs/configuration/cache - we can read:

Enabling this will cache the output of requests (based on the current user and exact query parameters used) into configured cache storage location.

Although, the cache is not based on query parameters so there's no cache buster mechanism that will work.

As can be seen here, cache is based on:

  • Directus Version
  • Current User ID
  • Request Path (excluding query)
  • Directus Query parameters (not all URL query parameters)
  • User IP, if required by the Policy / Role

joselcvarela avatar Jul 25 '25 07:07 joselcvarela