Why does Cheese make you dream funny things?

I ate a lot of cheese at the weekend and just remembered that when I grew up people used to say “cheese makes you dream funny“.

So I consulted Dr. Google and found this page which explains why.

It is not the cheese, it is that anything you eat late at night and takes time to digest, and from my understanding this is the case with cheese, keeps you more awake resulting in you having more vivid dreams.

Therefore, it is not the cheese but heavy to disgest food in general. Really, I could have thought of that myself.