Going to the database repeatedly is slow and operations-heavy. Caching stores recent/frequent data in a faster layer (memory) ...
Yes, that Boolean logic. The one you probably first encountered as a student: True or False, AND, OR, NOT. The kind of rigid, ...