With the recent Vasil fork script references allow to reduce transaction size. Even though Vasil has been already launched on the testnet I could not find information on how to reduce the size of typed Plutus scripts. The only lead I have found is this repository, but it only has examples on how to use PlutusV2 with untyped scripts.
How to reduce tx size using typed Plutus script with Vasil fork PlutusV2?