<div dir="ltr">Dear List,<br><br>I'm using layers joins in my projects, and need to use the memory cache for performance reasons.<br><br>This means that when I'm making changes on the joined layers, they won't appear on the base layer until the project is reloaded.<br><br>Is there a way to trigger a refresh of the joined layer cache "manually" through python ?<br><br>I looked at the API, but didn't find how to do so...<br><br>I found this class : <b>QgsVectorLayerJoinBuffer</b> which has a <b>createJoinCaches</b> method, but I couldn't find how to get a reference to it from the VectorLayer.<div><br>There's also the <b>createJoinCaches</b> method of <b>QgsVectorLayer</b>, but it seem it has no effect if the cache was already created (and that's what the docstring says as well).<br></div><div><br></div><div>If there's no way to do it, does anyone have a workaround, hopefully a bit lighter than reloading the project ?</div><div><br></div><div>Thanks a lot !</div><div><br></div><div>Olivier</div></div>