Skip to content

Document if/how this cache handler intersects with platform-level cache clearing #18

Description

@stevector

Users of this package might expect it to intersect with the "clear cache" button in Pantheon's dashboard (or the terminus command).

To my knowledge, this package does not currently respond to that platform-wide event. The CDN does clear (to my knowledge) in response to that dashboard button, but should the persistent cache controlled by this package also clear?

I'm not certain. I think we should start by providing a way for a site to opt-in to such clearing. For instance, Pantheon's platform could hit an API route in the Next.js application that empties all the caches in response to the "clear cache" button.

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