P
Prisma•23h ago
Ved

Cache invalidation across different repositories

Is it possible to invalidate cache across different codebases that use the same Accelerate connect URI? Let's say that multiple microservices can manage articles collection in Mongo and they use TTL cache with articles tag. Does invalidate() call for that tag in one codebase also invalidate the cache in all codebases?
Solution:
Hello @Ved 👋
the same Accelerate connect URI
If both codebases are using the same Accelerate connection string then yes, an invalidate call will invalidate cache across all codebases....
Jump to solution
2 Replies
Solution
Nurul
Nurul•23h ago
Hello @Ved 👋
the same Accelerate connect URI
If both codebases are using the same Accelerate connection string then yes, an invalidate call will invalidate cache across all codebases.
Ved
Ved•23h ago
Perfect, thank you!
Want results from more Discord servers?
Add your server