Here is a goal: To seal a pvc pipe to its top cap, you can

Which way makes more sense to accomplish this goal?
Use pvc solvent