P
Prisma•4d ago
Raj

Purge Global Cache via API

I was wondering if there was any way to programmatically purge the global Accelerate cache via the API. I understand that there's still a limit of 10x an hour but it would be nice to have an automation setup in our data pipeline to purge the cache whenever we update our daily datasets
5 Replies
Prisma AI Help
Prisma AI Help•4d ago
You're in no rush, so we'll let a dev step in. Enjoy your coffee, or drop into #ask-ai if you get antsy for a second opinion!
Nurul
Nurul•4d ago
Hey @Raj 👋 To make sure I understand your use case, you don't want to invalidate by tags and rather want to purge all cache, right? Essentially an API for the operation you have to manually do via the Console as shown in the screenshot, right? https://www.prisma.io/docs/accelerate/api-reference#accelerateinvalidate
No description
Raj
RajOP•2d ago
correct! @Nurul any updates in regards to this?
Nurul
Nurul•this hour
Hey @Raj I shared your use case with our team internally and we are currently discussing the efforts/feasibility to allow this API. I'll keep you posted as soon as I have more information.
Raj
RajOP•23h ago
Thanks 🙂

Did you find this page helpful?