A phrase you say to someone when you don't want to consider their suggestion seriously.
A phrase you say to someone when they have an egregious suggestion or opinion.
When someone tells you this, this means that they care about you and that they really appreciate that certain thing about you. cherish the people who say those and make sure you say something nice back;)