Page Cache
This is a word that's really overloaded because there is nothing that's really cached. The memory area where the file's content is loaded in the memory is called page cache.
For each file, there is an inode structure object, and it's structure has a pointer to the list of memory pages and where the file's content is loaded in the memory.
Buffer and page cache
Whenever a file is opened by a process, it must also provide a buffer address to read or write the data. The kernel copies the data from the page cache to the buffer or vice versa. The data exists two times or even multiple times when the same file is referenced by multiple processes.
mmap() and page cache
When a process opens a file, it can use the mmap() system call to map the file's content into its address space.
In this case, the location where file's content is loaded in page cache is directly mapped to the process's address space.
The process can directly read or write the data on the page cache without any copying.
Page faults happen when the process doesn't find a page in its address space. This can be due to the fact that the page isn't loaded from disk at all, or it's loaded but not yet mapped to the process's address space.
Read more about page faults here.
O_DIRECT Flag
Applications can use O_DIRECT flag to bypass the page cache and read or write directly to the disk.
A database application manages its own caching and doesn't want the kernel to cache the data.