Where are previous sms stored?

When I click 'load earlier messages' it takes me back around 8 month, where is all this memory stored, can i delete all previous posts from all contacts to clear up memory? is there other memory like this not being used on the iphone that i can delete?
thanks in advance
i think it gets stored on the server... can someone confirm this?
It's not stored on a server.
Why would you want to remove old messages? You can delete them individually by pressing the "edit" button if there's something incriminating. If you're worried about disk space being taken up by old messages, that's really not likely. Text is so unbelievably tiny it could never really make a large dent on your iPhone's space left.

Original thread: https://forums.imore.com/threads/where-are-previous-sms-stored.190016/