All bytes that are not temporary in ram and intended for recall later are either stored to disk or not before the memory is reclaimed.
While nostr and any other system shares these kinds of attributes, the discussion here is about Bitcoin which has far more permanence than nostr relays