I store mine with the bolt closed and uncocked. This can be done by pulling the trigger as you allow the bolt to close. Thus, the firing pin doesn't slam forward.
With my Ruger auto pistols with enclosed hammers, I hold the bolt open about a half inch, pull the trigger and allow the hammer to fall on the back of the bolt rather than the firing pin. Same with rimfire rifles. This also works well with my 10/22 and with my AR and with Garand-style actions. (M1, M1 Carbine.)
When I lived in an "aggressive" area, I used to keep rifle bolts separate from the rifles. Some rifle bolts can be uncocked while out of the rifle, but some are a pain in the patootie to re-cock them out of the rifle so you can put them back in the gun. Without going and getting one and trying it, I seem to recall that with Mannlicher-style bolts (Mosin-Nagant, Carcano), this was nearly impossible. Also with some Remington .22 bolt rifles.
I recall seeing an authoritative source which said that merely keeping a spring compressed did not harm it, but that constant compression and decompression (as with magazines) was what wore them out. That's one of those things you remember, but don't remember where you got it from.