P
Prisma•6mo 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•6mo 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
VedOP•6mo ago
Perfect, thank you!

Did you find this page helpful?