Don't throw away your "expired" glue yet -- until you've read this:
From the authority:
"When used in reference to wood glues, reaching the stated shelf life does not mean that a product will "expire" or become unusable. Instead, we view the stated shelf life of most of our glues merely as a guideline to avoid potential aging concerns. In reality, as long as products like Titebond Original, Titebond II and Titebond III remain fluid, without a drastic change in appearance,
they will continue to perform as intended."
Shelf life sheet -
http://www.titebond.com/App_Static/Literature/ff876_ShelfLife.pdf
On glue storage:
"... For example, store a bottle of white or yellow wood glue (polyvinyl acetate, or PVA glue)
in optimum conditions, and it can last 10 years or longer. This goes for our popular Titebond® Original, Titebond II and Titebond III PVA glues, too."
http://blog.titebond.com/page/how-to-store-your-wood-glue-for-longer-life
So cool basements are good for glue storage, too. I store Old Brown glue (bottled hide glue) in the fridge.
I regularly use glue several years old or more (because I use whatever glue that's within reach instead of checking the purchase date, and so glue is not used in an FIFO fashion). As long as it's not gummy and still smells normal, it's good glue. Not one single glue failure in the past 25 years with glue consistently used in such manner.
The bottle shown in the image with a purchase date of June 2018 could be more than three years old, depending on when it was actually put on the shelf by the vendor. I'll use it until all is gone.