Force metacache refresh or update meta for specific file


Is there a way to force metadata cache refresh? Or update the metadata cache for a specific file after calling processFrontmatter?

I’ve tried to call getCache and getFileCache after calling processFrontmatter thinking it would refresh the cache, but it didn’t.


Bumping it up as I have same query.

Are you sure it’s the cache that needs updating, and not a refresh on your query?

Or put another way, how do you detect that the cache hasn’t been updated? What’s your context dur this question?