You can use plasmicInvalidate(["plasmic_refresh_all"])
to invalidate cache for all queries on a given page. In case you want to invalidate a specific query, you can provide a Query group
name from Data Queries configuration and pass it to the plasmicInvalidate
function.
For example, for the following screenshot it would be plasmicInvalidate(["getAllPosts"])
Thanks