Prevention of views caching once loaded in view

As per docs

When you navigate to a new page, Ionic Framework will keep the old page
 in the existing DOM, but hide it from your view and transition the new page.

Can we somehow prevent this from happening if we don’t want to cache pages already visited?

I am using

"@ionic/vue": "5.4.0",
"@ionic/vue-router": "5.4.0",

I haven’t looked at the source code, but if you have no intention of navigating back to a page, use router.replace instead of push. The reason for caching is so that back navigation can be done smoothly.