It depends on how many car brands and models you have.
If you have 1k products, I would do call backend via JS every time after the user selects the car brand, if you have 100 products, you might just want to call the backend once and get all data and show what you want to show.
The best practice depends on your project.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…