High frequency reduces power on circuit
If you want a half wave rectifier, put the capacitor between diode and regulator, not before the diode. Now the incoming AC can discharge the capacitor. Also at high frequencies the average voltage over would be zero, at lower frequencies the capacitor voltage will follow the input voltage.