Skip to content

Possible to define a cache-handler.ts file ? #392

Discussion options

You must be logged in to vote

Hey @AlexandreBourdeaudhui!

Unfortunately, Next.js custom cache API expects a path to a JS file. Internally, they call a constructor without building or transpiling the cache-handler code.

So the answer is no 😢

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AlexandreBourdeaudhui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants