It's the other way round!
Top hat shaped guide in the piston, short and light.
Long spring guide at the rear end, breech, ideally fixed to the trigger block to save damage to the rear block by rotational forces. Non moving part so weight is unimportant, meaning it can be long enough to almost touch the top hat when the spring is fully compressed.
Cheers
John