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.
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.