When the models have many hidden attributes that are not used, to lighten the file to avoid lag, you should use the Auto purge tool.
Video tutorial:
Steps by steps:
- Select the object you want to lighten the file
- Click Auto purge all, the file has been optimized

Optimize files in Sketchup