Viewer API: Clear cache between diferent computations

We are on a typescript webapp with embedded shapediver model.
We are computing based on a dwg file and a hundred parameters.
We are experiencing some trouble when we change this dwg file before recompute.
Can we clear cache of a model programmatically before call for a session.customize() ?

How do you feed the DWG file into the model?
In case you are defining an URL of the DWG file as a parameter, you might be able to circumvent the caching by appending a query string parameter to the URL, e.g. &v={VERSION} where {VERSION} is some version identifier or timestamp.