Skip to content

Cache documentation is not correct regarding query parameters #414

@joselcvarela

Description

@joselcvarela

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions