In my project we are caching the pages once rendered, and we want to refresh the caching when a document is updated.
I'm not talking about "when a document is published".
In my project we are caching the pages once rendered, and we want to refresh the caching when a document is updated.
I'm not talking about "when a document is published".
When you update a document you have to republish to go from draft to live.
"when a document is published" will trigger.
Edit: req.body.documents
contains the updated doc id's
Yes, I don't know what I was thinking.