pantheon-systems / pantheon-systems/nextjs-cache-handler

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

Open
#18 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by clarifying how Pantheon's dashboard or Terminus cache-clearing event could reach a Next.js application and whether this package should expose an opt-in mechanism. The issue names no files or tests; done would require a decided integration approach and documented behavior for clearing the package's persistent caches.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
api, backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.